mod_auth_pam and winbind

Matt Alexander lowbassman at gmail.com
Tue Mar 1 20:33:41 UTC 2005


I'm trying to get Apache to authenticate users to an Active Directory server.

In /var/log/messages, I get:

     pam_winbind[31194]: user 'matt' granted access

But, in the Apache error_log, I get:

     GROUP: matt not in required group(s).

Here's the contents of /etc/pam.d/httpd:

     auth       required   /lib/security/pam_winbind.so
     account    required   /lib/security/pam_winbind.so

Here's my .htaccess:

     AuthPAM_Enabled On
     AuthPAM_FallThrough Off
     AuthType Basic
     AuthName "test"
     require group "testgroup"
     require user matt

The user "matt" is in the AD "testgroup".  Any ideas where the problem may be?
Thanks,
~M

-- 
Get Firefox!
http://getfirefox.com/




More information about the Pam-list mailing list