httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 60007] Httpd didn‘t support LDAP backup host
Date Tue, 16 Aug 2016 03:32:22 GMT
https://bz.apache.org/bugzilla/show_bug.cgi?id=60007

--- Comment #2 from Icewool <qhyh@163.com> ---
(In reply to Eric Covener from comment #1)
> Does this work in your env unpatched?
> 
> https://httpd.apache.org/docs/2.4/mod/mod_authnz_ldap.html#authldapurl
> AuthLDAPUrl "ldap://ldap1.example.com ldap2.example.com/dc=..."

Yes, it works!

You can setting LDAP  authn provider like this :
<AuthnProviderAlias ldap ldap-h>
AuthLDAPBindDN "LDAPUSER"
AuthLDAPBindPassword xxxxxxx
AuthLDAPURL "ldap://10.0.7.7:389/OU=User
Accounts,OU=HIKVISION,DC=hikvision,DC=com?sAMAccountName?sub?(&(objectCategory=Person)(sAMAccountName=*))"
AuthLDAPHostBackup 10.0.7.77
</AuthnProviderAlias>

10.0.7.7 is a wrong ldap host, than httpd will work with host 10.0.7.77, also
there's a error log :

[Tue Aug 16 11:30:08.811564 2016] [ldap:error] [pid 14874] [client
10.0.13.231:22928] AH01284: ldap_retry backup host :10.0.7.77
[now:10.0.7.7:389]

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

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


Mime
View raw message