httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject DO NOT REPLY [Bug 48505] New: Apache 2.2 not working with LDAP Fail Over Auth
Date Thu, 07 Jan 2010 14:17:46 GMT

           Summary: Apache 2.2 not working with LDAP Fail Over Auth
           Product: Apache httpd-2
           Version: 2.2.13
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: critical
          Priority: P2
         Component: mod_authz_ldap

hi Guys

I am using apache version Apache/2.2.13 (Unix) on Fedora -11 , and using ldap
as url authentications. I setup my conf in --> /etc/httpd/conf.d/mydomain.conf
with below values

I define only here below the ldap related entries only.

LDAPTrustedMode TLS
LDAPConnectionTimeout 4

<Directory "/var/www/html/test" >

AuthName "Testing Ldap fail over"
AuthType Basic

# The LDAP server(s)
AuthLDAPURL "ldap://,dc=com?uid??"
AuthBasicProvider ldap
AuthLDAPBindDN "uid=webcon,ou=WebAdmin,dc=mydomain,dc=com"
AuthLDAPBindPassword abxxyz

AuthLDAPGroupAttribute memberUid

Require ldap-group cn=WEBOU,dc=mydomain,dc=com
Order Allow,Deny
Options Indexes FollowSymLinks Multiviews
Allow from All


So its working when primary ldap1 server is up but for testing i down the ldap1
and then do check, so apache not forwarded the auth request to ldap2 for a long
time. it takes so many time to connect with ldap2, i think its may be 15-20
mins. I want to immediate ldap failover if primary ldap1 is down so it connects
connect to ldap2 after just some seconds. For this i can find directive
"LDAPConnectionTimeout" in docs i can try it to define 7 seconds, but still it
fails to connect with ldap2.

So please kindly give suggestions , which i need extra to make ldap fail over
Edit/Delete Message

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