httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject DO NOT REPLY [Bug 47651] New: HTTP does not authenticate with LDAP
Date Thu, 06 Aug 2009 00:57:14 GMT

           Summary: HTTP does not authenticate with LDAP
           Product: Apache httpd-2
           Version: 2.0.52
          Platform: All
        OS/Version: Linux
            Status: NEW
          Severity: major
          Priority: P2
         Component: mod_auth_ldap

--- Comment #0 from Kathy Khaghani <> 2009-08-05 17:57:12 PDT ---
I need to have http authenticate users with my Active directory. I have tried
several scenarios, with no luck. Here is the jest of the problem:

Location /var/www/html/test/> 

#AuthLDAPEnabled on 

AuthName "MIS Subversion Repositories" 
AuthType Basic 
AuthzLDAPAuthoritative on 
#require dn 
AuthLDAPURL ldap://ldapserver:3268 
AuthzLDAPBindDN "CN=ldapuser,OU=-Service accts,DC=STEC-INC,DC=AD" 
AuthzLDAPBindPassword "xxxxxx" 
require valid-user 
AuthzLDAPServer <ip address>:3268 
AuthzLDAPMethod ldap 
AuthzLDAPUserKey sAMAccountName 
AuthzLDAPUserScope subtree 
AuthzLDAPAllowPassword on 

Require user kkhagani 


The OS is: Red Hat Enterprise Linux ES release 4 (Nahant Update 8) 

Right now when I access the server using the following. it dumps me right to
the index file without asking for passwd.

I also tried the following in my httpd.conf

Alias /test "/var/www/html/test" 
<Directory /var/www/html/test> 
AuthType basic 
AuthName "MIS Subversion Repositories" 
AuthzLDAPMethod ldap 
AuthzLDAPAuthoritative on 
AuthLDAPGroupAttribute memberUid 
AuthLDAPGroupAttributeIsDN off 
AuthLDAPURL "ldap://ldapserver:3268/ou=-Service
require ldap-group cn=ldapuser,ou=-Service accts,OU=-All

now I get the login request but do not get authenticated, instead i get this

Authorization Required 
This server could not verify that you are authorized to access the document
requested. Either you supplied the wrong credentials (e.g., bad password), or
your browser doesn't understand how to supply the credentials required. 


Apache/2.0.52 (Red Hat) Server at <ip addres> port 80 

Also my error_log says: 

[Wed Aug 05 15:43:32 2009] [warn] [client] [3416] auth_ldap
authenticate: user kkhagani authentication failed; URI /test
[ldap_search_ext_s() for user failed][Operations error] 

Thank you 

Configure bugmail:
------- You are receiving this mail because: -------
You are the assignee for the bug.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message