mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-01-06 10:46:21 +08:00
Fix regression in SLAPI ACL plugins, call with frontendDB pblock
This commit is contained in:
parent
cbf33d4fb1
commit
dc166c08b8
@ -3100,7 +3100,7 @@ int slapi_int_access_allowed( Operation *op,
|
||||
break;
|
||||
}
|
||||
|
||||
rc = slapi_int_get_plugins( op->o_bd, SLAPI_PLUGIN_ACL_ALLOW_ACCESS, (SLAPI_FUNC **)&tmpPlugin );
|
||||
rc = slapi_int_get_plugins( frontendDB, SLAPI_PLUGIN_ACL_ALLOW_ACCESS, (SLAPI_FUNC **)&tmpPlugin );
|
||||
if ( rc != LDAP_SUCCESS || tmpPlugin == NULL ) {
|
||||
/* nothing to do; allowed access */
|
||||
return 1;
|
||||
|
Loading…
Reference in New Issue
Block a user