httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject DO NOT REPLY [Bug 45584] New: No AUTHENTICATE_* environment variables from mod_authz_ldap
Date Thu, 07 Aug 2008 06:37:39 GMT

           Summary: No AUTHENTICATE_* environment variables from
           Product: Apache httpd-2
           Version: 2.2.9
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: mod_authz_ldap

Created an attachment (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

Configure bugmail:
------- You are receiving this mail because: -------
You are the assignee for the bug.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message