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 2008/08/07 08:37:39 UTC

DO NOT REPLY [Bug 45584] New: No AUTHENTICATE_* environment variables from mod_authz_ldap

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


DO NOT REPLY [Bug 45584] No AUTHENTICATE_* environment variables from mod_authz_ldap

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

Stefan Fritsch <sf...@sfritsch.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED

--- Comment #3 from Stefan Fritsch <sf...@sfritsch.de> 2012-02-26 16:48:40 UTC ---
fixed in 2.4.1

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


DO NOT REPLY [Bug 45584] No AUTHENTICATE_* environment variables from mod_authz_ldap

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

Eric Covener <co...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |FixedInTrunk

--- Comment #2 from Eric Covener <co...@gmail.com> 2010-05-29 15:49:33 EDT ---
I've added this capability in r949336

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


DO NOT REPLY [Bug 45584] No AUTHENTICATE_* environment variables from mod_authz_ldap

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



--- Comment #1 from magne.andreassen@arm.com 2009-08-24 02:56:35 PDT ---
Created an attachment (id=24156)
Set environment variables when only using LDAP authorization.

Alternative patch for setting the AUTHENTICATE_ variables when only doing LDAP
authorization. Default off. To enable set 'AuthLDAPAuthzSetEnvironment' to 'on'
in the Apache config.

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