mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-01-18 11:05:48 +08:00
Removed testing mods accidentally committed with previous fix.
This commit is contained in:
parent
8130d0e883
commit
7e1d4023b8
@ -197,7 +197,7 @@ access_allowed(
|
|||||||
"=> access_allowed: %s access %s by %s\n",
|
"=> access_allowed: %s access %s by %s\n",
|
||||||
access2str( access ),
|
access2str( access ),
|
||||||
ACL_GRANT(mask, access) ? "granted" : "denied",
|
ACL_GRANT(mask, access) ? "granted" : "denied",
|
||||||
""/*accessmask2str( mask, accessmaskbuf )*/ );
|
accessmask2str( mask, accessmaskbuf ) );
|
||||||
|
|
||||||
return ACL_GRANT(mask, access);
|
return ACL_GRANT(mask, access);
|
||||||
}
|
}
|
||||||
@ -369,7 +369,7 @@ acl_mask(
|
|||||||
"=> acl_mask: to %s by \"%s\", (%s) \n",
|
"=> acl_mask: to %s by \"%s\", (%s) \n",
|
||||||
val ? "value" : "all values",
|
val ? "value" : "all values",
|
||||||
op->o_ndn ? op->o_ndn : "",
|
op->o_ndn ? op->o_ndn : "",
|
||||||
""/*accessmask2str( *mask, accessmaskbuf )*/ );
|
accessmask2str( *mask, accessmaskbuf ) );
|
||||||
|
|
||||||
for ( i = 1, b = a->acl_access; b != NULL; b = b->a_next, i++ ) {
|
for ( i = 1, b = a->acl_access; b != NULL; b = b->a_next, i++ ) {
|
||||||
slap_mask_t oldmask, modmask;
|
slap_mask_t oldmask, modmask;
|
||||||
@ -760,7 +760,7 @@ acl_mask(
|
|||||||
|
|
||||||
Debug( LDAP_DEBUG_ACL,
|
Debug( LDAP_DEBUG_ACL,
|
||||||
"<= acl_mask: [%d] applying %s (%s)\n",
|
"<= acl_mask: [%d] applying %s (%s)\n",
|
||||||
i, ""/*accessmask2str( modmask, accessmaskbuf )*/,
|
i, accessmask2str( modmask, accessmaskbuf ),
|
||||||
b->a_type == ACL_CONTINUE
|
b->a_type == ACL_CONTINUE
|
||||||
? "continue"
|
? "continue"
|
||||||
: b->a_type == ACL_BREAK
|
: b->a_type == ACL_BREAK
|
||||||
@ -791,7 +791,7 @@ acl_mask(
|
|||||||
|
|
||||||
Debug( LDAP_DEBUG_ACL,
|
Debug( LDAP_DEBUG_ACL,
|
||||||
"<= acl_mask: [%d] mask: %s\n",
|
"<= acl_mask: [%d] mask: %s\n",
|
||||||
i, ""/*accessmask2str(*mask, accessmaskbuf)*/, 0 );
|
i, accessmask2str(*mask, accessmaskbuf), 0 );
|
||||||
|
|
||||||
if( b->a_type == ACL_CONTINUE ) {
|
if( b->a_type == ACL_CONTINUE ) {
|
||||||
continue;
|
continue;
|
||||||
@ -806,7 +806,7 @@ acl_mask(
|
|||||||
|
|
||||||
Debug( LDAP_DEBUG_ACL,
|
Debug( LDAP_DEBUG_ACL,
|
||||||
"<= acl_mask: no more <who> clauses, returning %s (stop)\n",
|
"<= acl_mask: no more <who> clauses, returning %s (stop)\n",
|
||||||
""/*accessmask2str(*mask, accessmaskbuf)*/, 0, 0 );
|
accessmask2str(*mask, accessmaskbuf), 0, 0 );
|
||||||
return ACL_STOP;
|
return ACL_STOP;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user