Apache-AuthenPasswdSrv

 view release on metacpan or  search on metacpan

AuthenPasswdSrv.pm  view on Meta::CPAN

90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
  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.

README  view on Meta::CPAN

1
2
3
4
5
6
7
8
9
10
11
12
13
14
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

1
2
3
4
5
6
7
8
9
10
11
12
13
#!/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.098 second using v1.01-cache-2.11-cpan-26ccb49234f )