From dc166c08b81a9f61dc8194694602c18ac16d5427 Mon Sep 17 00:00:00 2001 From: Luke Howard Date: Sat, 24 Dec 2005 17:15:13 +0000 Subject: [PATCH] Fix regression in SLAPI ACL plugins, call with frontendDB pblock --- servers/slapd/slapi/slapi_utils.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.39.5