From bad81cb0d1adb2a352e76e7499ec279ac8e044c7 Mon Sep 17 00:00:00 2001 From: Pierangelo Masarati Date: Sat, 14 Jan 2006 17:24:06 +0000 Subject: [PATCH] fix previous commit --- servers/slapd/search.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/servers/slapd/search.c b/servers/slapd/search.c index 9478b19c3e..97ca38283c 100644 --- a/servers/slapd/search.c +++ b/servers/slapd/search.c @@ -340,7 +340,6 @@ fe_op_search( Operation *op, SlapReply *rs ) /* check restrictions */ if( backend_check_restrictions( op, rs, NULL ) != LDAP_SUCCESS ) { - op->o_bd = bd; send_ldap_result( op, rs ); goto return_results; } @@ -358,7 +357,6 @@ fe_op_search( Operation *op, SlapReply *rs ) /* else limits_check() sends error */ } else { - op->o_bd = bd; send_ldap_error( op, rs, LDAP_UNWILLING_TO_PERFORM, "operation not supported within namingContext" ); } -- 2.39.5