https://bz.apache.org/bugzilla/show_bug.cgi?id=61326
Bug ID: 61326
Summary: the LDAP Cache not working well with multiple ldap
hosts
Product: Apache httpd-2
Version: 2.2.34
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P2
Component: mod_ldap
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: ---
I use mod_authn_core's AuthnProviderAlias to create multiple ldap hosts ; you
can get more inf at
website:https://httpd.apache.org/docs/current/mod/mod_authn_core.html
<AuthnProviderAlias ldap ldap-a>
AuthLDAPBindDN "username"
AuthLDAPBindPassword password
AuthLDAPURL "ldap://10.0.1.55:389/OU=User
Accounts,OU=Google,DC=Google,DC=com?sAMAccountName?sub?(&(objectCategory=Person)(sAMAccountName=*))"
</AuthnProviderAlias>
<AuthnProviderAlias ldap ldap-b>
AuthLDAPBindDN "username"
AuthLDAPBindPassword password
AuthLDAPURL "ldap://10.0.1.55:389/OU=User
Accounts,OU=Branches,DC=Google,DC=com?sAMAccountName?sub?(&(objectCategory=Person)(sAMAccountName=*))"
</AuthnProviderAlias>
And then set the svn location:
<Location /test>
Dav svn
AuthType Basic
AuthBasicProvider ldap-a ldap-b file
AuthUserFile /data/passwd/httpwd
SVNPath /data/svnroot/test
AuthName "SVN-test"
AuthzSVNAccessFile /data/svnroot/test/conf/authz
require valid-user
SSLRequireSSL
</Location>
But I found the ldap cache only work on ldap-a; the user in ldap-b, the system
didn't use ldap cache;
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]