Support per-backend ACL plugins

This commit is contained in:
Luke Howard 2003-09-01 08:49:22 +00:00
parent 0edb270b9e
commit da56275a2c

View File

@ -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;