Michael`s Blog OSS/Linux, networking and my private life

14Mrz/070

Apache LDAP and htaccess authentication

if you would like to setup an two phase apache2 htaccess+ldap authentication this are the right settings:

AuthName "access" AuthType Basic AuthUserFile /etc/apache2/rt.htpasswd AuthLDAPAuthoritative On AuthAuthoritative Off AuthLDAPURL "ldap://host/OU=<name>,DC=<domain>,DC=com?samAccountName?sub?(objectCategory=person)(ObjectClass=User)" AuthLDAPBindDN <binduser> AuthLDAPBindPassword <bindpassword> order allow,deny allow from all require valid-user

the important settings are:

AuthLDAPAuthoritative On AuthAuthoritative Off

with his apache checks both the htaccess and the LDAP users

Kommentare (0) Trackbacks (0)

Zu diesem Artikel wurden noch keine Kommentare geschrieben.


Leave a comment

Noch keine Trackbacks.