Red Hat Bugzilla – Bug 828896
mod_authnz_ldap unable to set environment variables for authorize only
Last modified: 2013-12-04 14:14:06 EST
Created attachment 589543 [details]
Patch to add setting of AUTHORIZE_* CGI vars to mod_authnz_ldap
Description of problem:
mod_authnz_ldap has the ability to set environment variables
from received LDAP attributes. Unfortunately these can only
be set by LDAP authentication, not by LDAP authorization.
This is very unfortunate when integrating Apache with for example
Active Directory, or any other directory server using Kerberos,
because you want to use the HTTP Negotiate authentication to get
single sign on, but still use LDAP for authorization and user
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Setup httpd with Kerberos (or any other non-LDAP) authentication and LDAP authorization.
2. Use a AuthLDAPURL parameter requesting multiple LDAP attributes.
No environment variables are set for configured LDAP attributes.
Environment variables are set for all configured LDAP attributes.
This feature has already been implemented upstream in httpd 2.4 and later:
but unfortunately not for the 2.2 branch.
The attached patch implements setting of AUTHORIZE_* environment variables
for httpd 2.2.15
I don't see a problem with adding this - thanks for doing the backport, Marcus.
This request was not resolved in time for the current release.
Red Hat invites you to ask your support representative to
propose this request, if still desired, for consideration in
the next release of Red Hat Enterprise Linux.
This request was erroneously removed from consideration in Red Hat Enterprise Linux 6.4, which is currently under development. This request will be evaluated for inclusion in Red Hat Enterprise Linux 6.4.
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.