From: Luke Howard Date: Sat, 24 Dec 2005 17:15:13 +0000 (+0000) Subject: Fix regression in SLAPI ACL plugins, call with frontendDB pblock X-Git-Tag: OPENLDAP_REL_ENG_2_4_BP~504 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=dc166c08b81a9f61dc8194694602c18ac16d5427;p=openldap Fix regression in SLAPI ACL plugins, call with frontendDB pblock --- diff --git a/servers/slapd/slapi/slapi_utils.c b/servers/slapd/slapi/slapi_utils.c index 3e1d1149ba..74a2bdee43 100644 --- a/servers/slapd/slapi/slapi_utils.c +++ b/servers/slapd/slapi/slapi_utils.c @@ -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;