https://bz.apache.org/bugzilla/show_bug.cgi?id=65171
Bug ID: 65171
Summary: authn_socache doesn't cache well with authnz_ldap if
LDAP URL contains multiple attributes
Product: Apache httpd-2
Version: 2.4.46
Hardware: PC
Status: NEW
Severity: normal
Priority: P2
Component: mod_authn_socache
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: ---
Hi,
As recommended in the docs, I tried configuring authnz_ldap with authn_socache.
This works well if AuthLDAPURL contains only the login attribute, but if it
contains others then it doesn't cache them and their value cannot be used.
To reproduce, I used the following config
AuthName admin
AuthType basic
AuthBasicProvider socache ldap
AuthLDAPURL
"ldap://127.0.0.1/DC=corp,DC=ad?sAMAccountName,displayName,mail?sub?(objectClass=*)"
Require valid-user
whenever I try to access displayName or mail, their value is undefined.
--
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]