mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-01-18 11:05:48 +08:00
Fix ACL plugin bug - return value of ACL plugins was being ignored
This commit is contained in:
parent
0c0b29fc85
commit
03e5db818f
@ -201,11 +201,13 @@ access_allowed(
|
||||
}
|
||||
|
||||
#ifdef LDAP_SLAPI
|
||||
if ( op->o_pb &&
|
||||
!slapi_int_access_allowed( op, e, desc, val, access, state )) {
|
||||
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 */
|
||||
|
||||
be = op->o_bd;
|
||||
|
Loading…
Reference in New Issue
Block a user