You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2021/03/06 20:51:21 UTC

[Bug 65171] New: authn_socache doesn't cache well with authnz_ldap if LDAP URL contains multiple attributes

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: bugs@httpd.apache.org
          Reporter: avi@dbyt.es
  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: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


[Bug 65171] authn_socache doesn't cache well with authn_ldap if LDAP URL contains multiple attributes

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=65171

Avi <av...@dbyt.es> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|INVALID                     |CLOSED
             Status|RESOLVED                    |CLOSED

--- Comment #1 from Avi <av...@dbyt.es> ---
please ignore, sorry

-- 
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


[Bug 65171] authn_socache doesn't cache well with authn_ldap if LDAP URL contains multiple attributes

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=65171

Avi <av...@dbyt.es> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 OS|                            |All
            Summary|authn_socache doesn't cache |authn_socache doesn't cache
                   |well with authnz_ldap if    |well with authn_ldap if
                   |LDAP URL contains multiple  |LDAP URL contains multiple
                   |attributes                  |attributes
         Resolution|---                         |INVALID

-- 
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