We have managed to configure Apache authenticate against AD with the following lines in .htaccess:

 

  AuthName "Restricted Access"

  AuthType Basic

  AuthLDAPAuthoritative on

  AuthLDAPURL "ldap://ad.mycompany.com.au:389/dc=mycompany,dc=com,dc=au?sAMAccountNAme?sub?(objectClass=user)"

 

  AuthLDAPBindDN "cn=myusername, ou=userou, dc=mycompany, dc=com, dc=au"

  AuthLDAPBindPassword mypassword

  require valid-user

 

The problem is that after every 4-6 days, users are no longer able to access the website, requiring the computer to be restarted before it will continue to authenticate users .  The log shows:

 

[Tue Jul 18 14:59:37 2006] [warn] [client 128.250.196.11] [1276] auth_ldap authenticate: user myusername authentication failed; URI /website [ldap_search_ext_s() for user failed][Operations Error]

[Tue Jul 18 14:59:40 2006] [warn] [client 128.250.196.11] [1276] auth_ldap authenticate: user myusername authentication failed; URI /website [ldap_search_ext_s() for user failed][Operations Error]

 

Any hints/solution would be greatly appreciated.  Thanks.

Reply via email to