[Auth_ldap] mod_auth_ldap AD 2k3 error

Emmanuel SCIEUR emmanuel.scieur at eseo.fr
Tue Mar 8 03:09:50 PST 2005


I have a Windows 2003 AD, Apache 1.3.33 and auth-ldap_1.6.0-8,

If I try to get /nagios/cgi-bin/status.cgi
I have the error message:

LDAP search for (&(objectClass=user)(sAMAccountName=<user>)) failed: LDAP
error: Operations error; URI /nagios/cgi-bin/status.cgi

And if I try to get /usr/share/nagios/htdocs/index.html All is right.

My configuration is:

<DirectoryMatch /usr/lib/cgi-bin/nagios>
        Options ExecCGI
 
        AllowOverride AuthConfig
        Order Allow,Deny
        Allow From All
        AuthLDAPAuthoritative off
        AuthLDAPURL
ldap://<server>.<domain>.eseo.fr:389/dc=<domain>,dc=eseo,dc=fr?sAMAccountNam
e?sub?(objectClass=user)
        AuthLDAPBindDN cn=<user>,dc=<domain>,dc=eseo,dc=fr
        AuthLDAPBindPassword xxxxxxxx
        AuthName "Nagios Access"
        AuthType Basic
        require valid-user
        AuthUserFile /nagios/htpasswdnagios.users
</DirectoryMatch>
<DirectoryMatch /usr/share/nagios/htdocs>
Options FollowSymLinks
        AllowOverride AuthConfig
        Order Allow,Deny
        Allow From All
        AuthLDAPAuthoritative off
        AuthLDAPURL
ldap://<server>.<domain>.eseo.fr:389/OU=admins,DC=<domain>,DC=eseo,DC=fr?sAM
AccountName?sub?(objectClass=user)
        AuthLDAPBindDN cn=<user>,dc=<domain>,dc=eseo,dc=fr
        AuthLDAPBindPassword xxxxxxxx

        AuthName "Nagios Access"
        AuthType Basic
        require valid-user
        AuthUserFile /nagios/htpasswdnagios.users
</DirectoryMatch>

Best regards,
-------------------------------------------
Emmanuel SCIEUR - IT Department
ESEO
4, rue Merlet de la Boulaye
BP30926 - 49009 Angers Cedex 1 - FRANCE
Email: emmanuel.scieur at eseo.fr
-------------------------------------------






More information about the Auth_ldap mailing list