From: Luke Howard Date: Mon, 1 Sep 2003 08:49:22 +0000 (+0000) Subject: Support per-backend ACL plugins X-Git-Tag: OPENLDAP_REL_ENG_2_1_MP~753 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=da56275a2c7643609455c95dfcc3d15cc6ca7b15;p=openldap Support per-backend ACL plugins --- diff --git a/servers/slapd/slapi/slapi_utils.c b/servers/slapd/slapi/slapi_utils.c index b19bafaaa4..f1e43aab5d 100644 --- a/servers/slapd/slapi/slapi_utils.c +++ b/servers/slapd/slapi/slapi_utils.c @@ -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;