You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Eric Ladner <er...@gmail.com> on 2005/03/02 21:53:14 UTC

[users@httpd] LDAP auth problems.

I have an apache 2.0.52 server set up and I'm trying to get LDAP
authentication working with a Win2K AD server.

<Directory /opt/apache/htdocs/test_auth>
  #SetHandler ldap-status
  Order allow,deny
  Allow from all
  AuthLDAPEnabled on
  AuthLDAPAuthoritative on
  AuthName "Password Access"
  AuthLDAPBindDN
cn=svc-loc-unix,OU=Services00,OU=Services,OU=LOCATION,OU=North%20America,OU=Somewhere,dc=DOMAIN,dc=somewhere,dc=net
  AuthLDAPBindPassword mypassword
  AuthLDAPUrl ldap://server.somewhere.net/OU=LOCATION,OU=North%20America,OU=Somewhere,DC=DOMAIN,DC=somewhere,DC=net?cn?sub

)
  AuthType Basic
  require valid-user
</Directory>

All I'm getting back in the erorr log when I try an authentication is this:

[Wed Mar 02 14:49:10 2005] [error] [client 10.0.0.5] user eric not
found: /test_auth

(of course, the names have been changed to protect the innocent).

Anybody have any ideas?  I've tried all kinds of different URL's on
the AuthLDAPUrl line, too.
-- 
Eric Ladner

---------------------------------------------------------------------
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