[Bug 61326] New: the LDAP Cache not working well with multiple ldap hosts

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[Bug 61326] New: the LDAP Cache not working well with multiple ldap hosts

Bugzilla from bugzilla@apache.org
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: [hidden email]
          Reporter: [hidden email]
  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: [hidden email]
For additional commands, e-mail: [hidden email]

Loading...