Apache-AuthenPasswdSrv
view release on metacpan or search on metacpan
AuthenPasswdSrv.pm view on Meta::CPAN
PerlAuthenHandler Apache::AuthenPasswdSrv->handler()
=head1 REQUIRES
Perl5.004_04, mod_perl 1.15
=head1 DESCRIPTION
B<Apache::AuthenPasswdSrv> is a mod_perl Authentication handler that
checks a users credentials against a domain socket server. The included
server, B<passwd_srv.pl>, checks a username and password against an NIS
database using Net::NIS and ypmatch. This release is very alpha. The
server protocol is not documented and transaction format will change.
The system has been running under light load at my office for about a
month now, and no problems are know with the current release.
=head1 TODO
=over 4
=item B<Module Configuration>
Break out module configuration into PerlSetVar statements.
=item B<NIS Server Configuration>
Figure out MakeMaker enough to auto-configure paths in password server.
=item B<Documentation>
Write up Server Protocol documentation.
Write a better POD file for the module.
=item B<Module/Server Structure>
Build class structure for password service client.
Add security so client/server can be used with standard IP sockets.
Build class structure for server.
Build other example servers.
=back
=head1 ACKNOWLEDGEMENTS
Thanks to Premier1 Internet Service, Inc. for allowing me to work on
this module during work hours and paying me to muck with Perl.
Apache::AuthenPasswdSrv Version 0.01 (Alpha Release)
Written by Jeffrey Hulten (jeffh@premier1.net)
This is version 0.01 of a mod_perl Authentication handler that checks
user credentials (username and password) against a UNIX domain socket
server. There is a sample server included (passswd_srv.pl) that checks
username and password against an NIS database using Net::NIS and ypmatch.
This release is ALPHA. The documentation is lacking, the code needs to be
modularized, but the module and server both run rather well.
If you have any questions, comments or suggestions, please email me at
jeffh@premier1.net.
passwd_srv.pl view on Meta::CPAN
#!/usr/local/bin/perl -T
#
# passwd_srv.pl - Apache::AuthenPasswdSrv password server for NIS
# Version: 0.01 (Alpha release)
#
# Written by Jeffrey Hulten <jeffh@premier1.net>
#
# May be used under the GPL version 2 or later.
#
# $Id: $
#
use strict;
( run in 1.006 second using v1.01-cache-2.11-cpan-49f99fa48dc )