PAM modules violating PAM architecture?, e.g. mod_auth_pam

Kenneth Porter shiva at sewingwitch.com
Thu Oct 7 10:12:28 UTC 2004


--On Wednesday, October 06, 2004 11:44 AM -0700 Jed Donnelley 
<jed at nersc.gov> wrote:

> Puzzled, I looked at mod_auth_pam.c (1.1.1) and found:
>
> 418:  pwent = getpwnam(r->connection->user);
> and
> 464:   if ((grent = getgrnam (groupname)) && grent->gr_mem) {

My copy says "#define VERSION "2.0-1.1" and has only 412 lines. The tarball 
name claims version 1.1.1, found here:

<http://pam.sourceforge.net/mod_auth_pam/>

Where did you pull your copy from?

I do see lines like that in mod_auth_sys_group.c, which is compiled into a 
separate module.





More information about the Pam-list mailing list