Apache mod_auth_pam patch to allow non local users to auth

Mooney, Ryan ryan.mooney at pnl.gov
Mon Jun 14 16:54:20 UTC 2004


All,

Attached is a patch to mod_auth_pam.1.1.1 for apache 1.3.X to optionally allow users who are not in the local password file to be authenticated.  The default behavior is the same as the current version, however if AuthPAM_NoLocalUser is set to ON, it bypasses the local getpwent check and attempts to just use the username as passed in by apache.

This is useful for when you want to allow groups, or other valid user lists, and are using a remote authentication mechanism (like kerberos, ldap or securid) but do not wish to add real local accounts.  This option has the side affect that if all you require is "valid-user" then anyone who can authenticate via PAM by any means has access (which may not be what you desire).
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mod_auth_pam.diffs
Type: application/octet-stream
Size: 9886 bytes
Desc: mod_auth_pam.diffs
URL: <http://listman.redhat.com/archives/pam-list/attachments/20040614/91b1d205/attachment.obj>


More information about the Pam-list mailing list