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 2004/11/29 12:24:50 UTC

DO NOT REPLY [Bug 32426] New: - Setting AuthLDAPRemoteUserIsDN breaks require user

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=32426>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=32426

           Summary: Setting AuthLDAPRemoteUserIsDN breaks require user
           Product: Apache httpd-2.0
           Version: 2.0.52
          Platform: Sun
        OS/Version: Solaris
            Status: NEW
          Severity: major
          Priority: P2
         Component: mod_authn_ldap
        AssignedTo: bugs@httpd.apache.org
        ReportedBy: dbb@st-andrews.ac.uk


Setting AuthLDAPRemoteUserIsDN causes require user to behave like require dn
and need
require user <dn1> <dn2> ...
rather than
require user <uid1> <uid2> ...

I'm looking at the code, It seems mod_auth_ldap.c sets r->user = req->dn around
line 360 and commenting it out fixes the problem.

I guess, somewhere the REMOTE_USER to be passed as an environment variable is
being confused with the UID provided by the remote user.

Cheers,
      Duncan

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

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