]> granicus.if.org Git - apache/commitdiff
return AUTHZ_GRANTED instead of OK from the LDAP nested group checking.
authorEric Covener <covener@apache.org>
Tue, 4 Mar 2008 20:20:00 +0000 (20:20 +0000)
committerEric Covener <covener@apache.org>
Tue, 4 Mar 2008 20:20:00 +0000 (20:20 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@633620 13f79535-47bb-0310-9956-ffa450edef68

modules/aaa/mod_authnz_ldap.c

index 27702775f1013af385133c62c3a18773879e0be5..4034f5efb875e37d50b6bb43527e6ce1719168cb 100644 (file)
@@ -775,7 +775,7 @@ static authz_status ldapgroup_check_authorization(request_rec *r,
                                    "[%" APR_PID_T_FMT "] auth_ldap authorise: require group (sub-group): "
                                    "authorisation successful (attribute %s) [%s][%d - %s]",
                                    getpid(), ent[i].name, ldc->reason, result, ldap_err2string(result));
-                     return OK;
+                     return AUTHZ_GRANTED;
                 }
                 else {
                     ap_log_rerror(APLOG_MARK, APLOG_DEBUG, 0, r,