[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

mod_auth_pam and winbind



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/


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]