mirror of
https://git.openldap.org/openldap/openldap.git
synced 2024-12-21 03:10:25 +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;
|
||||
}
|
||||
|
||||
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 ) {
|
||||
/* nothing to do; allowed access */
|
||||
return 1;
|
||||
|
Loading…
Reference in New Issue
Block a user