From: Pierangelo Masarati Date: Sat, 14 Jan 2006 17:24:06 +0000 (+0000) Subject: fix previous commit X-Git-Tag: OPENLDAP_REL_ENG_2_4_BP~310 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=bad81cb0d1adb2a352e76e7499ec279ac8e044c7;p=openldap fix previous commit --- 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" ); }