[Auth_ldap] mod_auth_ldap apache2 and AD 2k3

Martial Paupe martial.paupe at nagra.com
Fri Feb 25 06:49:09 PST 2005


I wish to use the authentifaction of the users of Apache with active directory 
2k3.

I configured the module in the manner according to:

<Directory /var/www/>
   Options Indexes FollowSymLinks MultiViews
   AllowOverride None
   Order allow,deny
   allow from all

  #mod_auth_ldap
  AuthLDAPEnabled on
  AuthLDAPAuthoritative on
  AuthName "Acces restreint WEBDAV"
  AuthType Basic
  AuthLDAPURL ldap://taurus.hq.k.grp:389/DC=hq,DC=k,DC=grp?sAMAccountName?sub?
(objectClass=*)
  AuthLDAPBindDN "CN=Paupe Martial,OU=Normal 
Recipients,OU=Cheseaux,OU=HQ,DC=hq,DC=k,DC=grp"
  AuthLDAPBindPassword passwdXX
  require valid-user
  # This directive allows us to have apache2's default start page
  # in /apache2-default/, but still have / go to the right place
  #RedirectMatch ^/$ /apache2-default/
</Directory>

When I try to login on the server, I have the error message according to:

[Fri Feb 25 15:07:35 2005] [warn] [client 127.0.0.1] [13013] auth_ldap 
authenticate: user usertest authentication failed; URI / [ldap_search_ext_s() 
for userfailed][Operations error]

The versions are : 

apache : 2.0.52
mod_ldap : include in apache
ldap server : AD 2003

Would somebody have an index to help me ?

Best regards
-- 
Martial Paupe
IT Department

Kudelski Group    |   Tel direct : +41 21 732 04 55
1033 Cheseaux     |   E-mail : martial.paupe<AT>nagra.com
Switzerland



More information about the Auth_ldap mailing list