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,10 +201,12 @@ access_allowed(
|
|||||||
}
|
}
|
||||||
|
|
||||||
#ifdef LDAP_SLAPI
|
#ifdef LDAP_SLAPI
|
||||||
if ( op->o_pb &&
|
if ( op->o_pb != NULL ) {
|
||||||
!slapi_int_access_allowed( op, e, desc, val, access, state )) {
|
ret = slapi_int_access_allowed( op, e, desc, val, access, state );
|
||||||
/* ACL plugin denied access */
|
if ( ret == 0 ) {
|
||||||
goto done;
|
/* ACL plugin denied access */
|
||||||
|
goto done;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
#endif /* LDAP_SLAPI */
|
#endif /* LDAP_SLAPI */
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user