Bug 28253 - Enable LDAP authorization for users not authenticated with LDAP
Summary: Enable LDAP authorization for users not authenticated with LDAP
Status: CLOSED LATER
Alias: None
Product: Apache httpd-2
Classification: Unclassified
Component: mod_auth_ldap (show other bugs)
Version: 2.0.49
Hardware: All All
: P3 enhancement with 1 vote (vote)
Target Milestone: ---
Assignee: Apache HTTPD Bugs Mailing List
URL:
Keywords: PatchAvailable
Depends on:
Blocks:
 
Reported: 2004-04-07 10:01 UTC by Jari Ahonen
Modified: 2004-11-16 19:05 UTC (History)
0 users



Attachments
Proposed patch for mod_auth_ldap.c (2.48 KB, patch)
2004-04-07 10:03 UTC, Jari Ahonen
Details | Diff
Proposed patch for util_ldap.c (6.00 KB, patch)
2004-04-07 10:04 UTC, Jari Ahonen
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jari Ahonen 2004-04-07 10:01:52 UTC
Currently mod_auth_ldap cannot authorize users that are not authenticated with
mod_auth_ldap. The attached patches to mod_auth_ldap.c and util_ldap.c enable
this functionality by looking up the user account from LDAP in authorization
phase even if the user is authenticated by some other module.
Comment 1 Jari Ahonen 2004-04-07 10:03:40 UTC
Created attachment 11163 [details]
Proposed patch for mod_auth_ldap.c
Comment 2 Jari Ahonen 2004-04-07 10:04:58 UTC
Created attachment 11164 [details]
Proposed patch for util_ldap.c
Comment 3 Jari Ahonen 2004-04-07 10:07:46 UTC
Note that the line numbers in these patches are probably offset because of other
changes I have made but the context should be clear. The patches are against
2.0.49 LDAP files.
Comment 4 Graham Leggett 2004-05-21 16:07:01 UTC
Not sure if this is a good idea to add to v2.0.x of httpd, but when
mod_auth_ldap is split into mod_authn_ldap and mod_authz_ldap in compliance with
authentication in httpd v2.1, this will definitely be required.
Comment 5 Jari Ahonen 2004-11-11 08:41:38 UTC
This has now been fixed as part of bug 31898. 2.1 includes the full fix, only
the util_ldap changes have been backported to 2.0.