httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 45584] New: No AUTHENTICATE_* environment variables from mod_authz_ldap
Date Thu, 07 Aug 2008 06:37:39 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=45584

           Summary: No AUTHENTICATE_* environment variables from
                    mod_authz_ldap
           Product: Apache httpd-2
           Version: 2.2.9
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: mod_authz_ldap
        AssignedTo: bugs@httpd.apache.org
        ReportedBy: Alexandra.Kossovsky@oktetlabs.ru


Created an attachment (id=22398)
 --> (https://issues.apache.org/bugzilla/attachment.cgi?id=22398)
Fix for the problem (obviously wrong)

I use non-ldap authn module (Kerberos, really) with ldap authz module (i.e.
"AuthLDAPURL" and "Require ldap-filter" directives) with apache 2.2.9. The
documentation to mod_authnz_ldap module tells me that "LDAP attributes
specified in the AuthLDAPUrl directive are placed in environment variables with
the prefix "AUTHENTICATE_"".  However, I get no AUTHENTICATE_ variables -- they
are set only when checking LDAP password, and it is not my case.

I think it is very useful to get AUTHENTICATE_* variables available for CGI
scripts even then ldap is used as authorization module and does not
authenticate user.

The attached patch works for me, but it is obviously wrong (for example, it
sets AUTHENTICATE_* variable twice if ldap is used for both authorization and
authentication).


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- 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


Mime
View raw message