mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-01-06 10:46:21 +08:00
Support per-backend ACL plugins
This commit is contained in:
parent
0edb270b9e
commit
da56275a2c
@ -3769,7 +3769,7 @@ int slapi_x_access_allowed( Operation *op,
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
rc = getAllPluginFuncs( NULL, SLAPI_PLUGIN_ACL_ALLOW_ACCESS, (SLAPI_FUNC **)&tmpPlugin );
|
rc = getAllPluginFuncs( op->o_bd, SLAPI_PLUGIN_ACL_ALLOW_ACCESS, (SLAPI_FUNC **)&tmpPlugin );
|
||||||
if ( rc != LDAP_SUCCESS || tmpPlugin == NULL ) {
|
if ( rc != LDAP_SUCCESS || tmpPlugin == NULL ) {
|
||||||
/* nothing to do; allowed access */
|
/* nothing to do; allowed access */
|
||||||
return 1;
|
return 1;
|
||||||
|
Loading…
Reference in New Issue
Block a user