[ANN] nnrpd auth programm for MySQL

Adi Sieker adi-ml at living-source.com
Mon Feb 11 09:50:33 UTC 2002


Hi all,

because of personal need I developed a little php script to
authenticate our company users. It's available here:
www.l33tless.org/code

short descroption:
authmysql.php for nnrpd (inn)
authmysql.php is a php script you can use in an inn installation to
authenticate readers against a MySQL database. It has authentication
support as well as group support.
The database support is done using the PEAR DB class so it should also
work with ther databases supported by PEAR DB, although I havent't
tried.

It needs a current CVS version of PHP because of a bug in PHP when
returning exit codes. This will be fixed in PHP 4.1.2.

One little remark I don't know perl,python,tcl, or other scripting
languages which is why this is developed in PHP.

Any and all Feedback is welcome, especially about the readme.

One question: As far as I can see an exit code isn't actually needed
for authenication to work correctly?
If this is so I can change the script to not return n exit code in
which case it'd also work with the current versions of PHP 4.

Regards
   Adi



More information about the inn-workers mailing list