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 12296] New: - AuthLDAPGroup* directives broken
Date Wed, 04 Sep 2002 12:55:51 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=12296>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=12296

AuthLDAPGroup* directives broken

           Summary: AuthLDAPGroup* directives broken
           Product: Apache httpd-2.0
           Version: 2.0.40
          Platform: All
               URL: http://www.snet.net
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Other Modules
        AssignedTo: bugs@httpd.apache.org
        ReportedBy: jwf@snet.net


the arguments to util_ldap_cache_compare() are out of order in mod_auth_ldap.c,
so require group directives are not processed properly.

this patch results in correct group functionality:

httpd-ldap/aaa-ldap/mod_auth_ldap.c
546,547c546,547
<                 result = util_ldap_cache_compare(r, ldc, sec->url,
sec->group_attrib_is_dn ? 
< 						 req->dn : req->user, ent[i].name, t);
---
>                 result = util_ldap_cache_compare(r, ldc, sec->url, t,
ent[i].name, 
>                                      sec->group_attrib_is_dn ? req->dn :
req->user);

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


Mime
View raw message