]> git.sur5r.net Git - openldap/commitdiff
Support per-backend ACL plugins
authorLuke Howard <lukeh@openldap.org>
Mon, 1 Sep 2003 08:49:22 +0000 (08:49 +0000)
committerLuke Howard <lukeh@openldap.org>
Mon, 1 Sep 2003 08:49:22 +0000 (08:49 +0000)
servers/slapd/slapi/slapi_utils.c

index b19bafaaa4ffac24e98145eacf0c39aa79b1afd7..f1e43aab5d43c25c239c01758a65b6252ead2a1b 100644 (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;