Fix regression in SLAPI ACL plugins, call with frontendDB pblock

This commit is contained in:
Luke Howard 2005-12-24 17:15:13 +00:00
parent cbf33d4fb1
commit dc166c08b8

View File

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