On Tue, Mar 4, 2008 at 2:28 PM, John D'Ausilio <[EMAIL PROTECTED]> wrote:

>  authorise: require group (sub-group): authorisation successful
>  (attribute member) [Comparison true (cached)][6 - Compare True]
>  [client 10.5.131.52] user jdausilio: authorization failure for "/index.html":

Looks like a trunk-vs-2.2.x bug, try attached 1-liner?

-- 
Eric Covener
[EMAIL PROTECTED]
Index: modules/aaa/mod_authnz_ldap.c
===================================================================
--- modules/aaa/mod_authnz_ldap.c	(revision 633603)
+++ modules/aaa/mod_authnz_ldap.c	(working copy)
@@ -775,7 +775,7 @@
                                    "[%" 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,

Reply via email to