Commit 03e5db81 authored by Luke Howard's avatar Luke Howard
Browse files

Fix ACL plugin bug - return value of ACL plugins was being ignored

parent 0c0b29fc
......@@ -201,10 +201,12 @@ access_allowed(
}
#ifdef LDAP_SLAPI
if ( op->o_pb &&
!slapi_int_access_allowed( op, e, desc, val, access, state )) {
/* ACL plugin denied access */
goto done;
if ( op->o_pb != NULL ) {
ret = slapi_int_access_allowed( op, e, desc, val, access, state );
if ( ret == 0 ) {
/* ACL plugin denied access */
goto done;
}
}
#endif /* LDAP_SLAPI */
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment