File: README

package info (click to toggle)
libapache2-mod-authnz-external 3.3.2-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 216 kB
  • sloc: ansic: 531; perl: 74; makefile: 22; php: 18
file content (33 lines) | stat: -rw-r--r-- 1,346 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
These are dummy external authenticator programs used for testing
mod_auth_external or mod_authnz_external.

They are mostly Perl scripts, and one PHP script.  Before using them, make
sure that the directives on the first lines of each file:
    #!/usr/bin/perl
    #!/usr/bin/php
give the correct pathname for the Perl and/or PHP interpretors on your system.

The files are:

   test.pipe        Dummy user authentication program using pipe method
   test.env         Dummy user authentication program using environment method
   testgroup.pipe   Dummy group check program using pipe method
   testgroup.env    Dummy group check program using environment method

   test.pipe.php    PHP version of test.pipe

The user authentication programs will accept a login if the user name
matches the password, and will reject all others.

The group check programs will accept a login if the user name matches the
group name, and will reject all others.

All programs print lots of stuff to stderr.  All this output should get
logged in Apache's "error_log" file, so do a "tail -f" on that file to
see what happens when you try an authentication.

(Obviously you wouldn't want to log plain-text passwords in a real
authentication program).

Author & Maintainer for Perl Versions:  Jan Wolter   http://www.unixpapa.com
Author of PHP Version: Claus Andersen