[Auth_ldap] Re: Operations error connecting to AD

Adam Glassman aglassman at next-online.net
Wed May 25 13:06:01 PDT 2005


Resubmitting from the correct email address.

Adam Glassman wrote:

> Auth_ldap version: 1.6.0-8
> apache version:  1.3.33-5
> Web Server: Debian 3
> LDAP Server: Windows 2003 SP 1
>
>
> Trying to get auth_ldap working from Apache on debian linux to AD on 
> Windows 2003. I can run ldapsearch using the BindDN specified below 
> but when I enter my username and password in the browser, I get
>
> Error 500: The server encountered an internal error or 
> misconfiguration and was unable to complete your request.
>
>   The apache error log has:
>
> [error] [client 192.168.xxx.xxx] LDAP search for 
> (&(objectclass=user)(samaccountname=testuser)) failed: LDAP error: 
> Operations error; URI /test/index.html
> [crit] [client 192.168.xxx.xxx] configuration error:  couldn't check 
> user.  No user file?: /test/index.html
>
> Looking at the Windows logs, I can see the query user authenticating 
> from the web server, but I don't see any errors after that or the end 
> user authenticating.
>
> My config is as follows:
>
> Alias /test /var/www/test
> <DirectoryMatch /var/www/test>
>        Options ExecCGI
>
>        AllowOverride AuthConfig
>        Order Allow,Deny
>        Allow From All
>
>        AuthName "AD Authentication"
>
>        AuthLDAPURL 
> ldap://adserver.ds.domain.com:389/dc=ds,dc=domain,dc=com?samaccountname?sub?(objectclass=user) 
>
>        AuthLDAPBindDN cn=query,ou=people,dc=ds,dc=domain,dc=com
>        AuthLDAPBindPassword xxxxxxxx
>        AuthLDAPEnabled On
>        AuthLDAPAuthoritative Off
>
>        AuthType Basic
>        require valid-user
> </DirectoryMatch>
>
> I appreciate any insight you can lend,
>
> Adam Glassman
> aglassman at next-online.net
>



More information about the Auth_ldap mailing list