]> git.sur5r.net Git - openldap/commitdiff
Fix regression in SLAPI ACL plugins, call with frontendDB pblock
authorLuke Howard <lukeh@openldap.org>
Sat, 24 Dec 2005 17:15:13 +0000 (17:15 +0000)
committerLuke Howard <lukeh@openldap.org>
Sat, 24 Dec 2005 17:15:13 +0000 (17:15 +0000)
servers/slapd/slapi/slapi_utils.c

index 3e1d1149baa062a0c06d710ddfe0e1f8ec7dbacd..74a2bdee43b93a475090f6187b3164f3433e5f04 100644 (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;