You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Emmanuel SCIEUR <em...@eseo.fr> on 2005/03/08 12:58:40 UTC

[users@httpd] mod_auth_ldap AD 2k3 error

I have a Windows 2003 AD, Apache 2.0 with mod_auth_ldap,

If I try to get /private I have the following error:

auth_ldap authenticate: user yyyyy authentication failed; URI /private
[ldap_search_ext_s() for user failed][Operations error]
configuration error:  couldn't check user.  No user file?: /private

If I get /adm All is ok 

My configuration is:

Alias /adm /WEB/srv_info/admin
<DirectoryMatch /srv_info/admin>
AllowOverride AuthConfig
        Order Allow,Deny
        Allow From All
AuthAuthoritative Off
        AuthLDAPAuthoritative Off
        AuthLDAPURL ldap://<server>.<domain>.eseo.fr:389/OU=admins,DC
=<domain>,DC=eseo,DC=fr?sAMAccountName?sub?(objectClass=user)
        AuthLDAPBindDN cn=<user>,dc=<domain>,dc=eseo,dc=fr
        AuthLDAPBindPassword xxxxxxxx
    AuthType Basic
    AuthName "Restricted Admin Directory"
    require user yyyyy
    Options -FollowSymLinks +Multiviews
    </DirectoryMatch>

Alias /private /WEB/srv_info/private/phpBB2
<DirectoryMatch /srv_info/private/phpBB2>
    Options -FollowSymLinks +Multiviews
AllowOverride AuthConfig
        Order Allow,Deny
        Allow From All
AuthAuthoritative Off
        AuthLDAPAuthoritative Off
        AuthLDAPURL ldap://<server>.<domain>.eseo.fr:389/DC
=<domain>,DC=eseo,DC=fr?sAMAccountName?sub?(objectClass=user)
        AuthLDAPBindDN cn=<user>,dc=<domain>,dc=eseo,dc=fr
        AuthLDAPBindPassword xxxxxxxx
 
    AuthType Basic
    AuthName "Restricted private Directory"
require valid-user
    AuthUserFile  /acces/.srvadm1
    </DirectoryMatch>

Please help me
Best regards,
-------------------------------------------
Emmanuel SCIEUR - IT department
ESEO
4, rue Merlet de la Boulaye
BP30926 - 49009 Angers Cedex 1 - FRANCE
Email: emmanuel.scieur@eseo.fr
Tél. +33 (0)2 41 86 67 85
-------------------------------------------



---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org