From 9785c246615d80a68788bbf0bd204d583e0bfa39 Mon Sep 17 00:00:00 2001 From: Pierangelo Masarati Date: Thu, 24 Jun 2010 19:26:22 +0000 Subject: [PATCH] return error (ITS#6581) --- servers/slapd/modify.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/servers/slapd/modify.c b/servers/slapd/modify.c index f8c6394b40..a129cea82a 100644 --- a/servers/slapd/modify.c +++ b/servers/slapd/modify.c @@ -82,12 +82,14 @@ do_modify( if ( rs->sr_err != LDAP_SUCCESS ) { Debug( LDAP_DEBUG_ANY, "%s do_modify: slap_parse_modlist failed err=%d msg=%s\n", op->o_log_prefix, rs->sr_err, rs->sr_text ); + send_ldap_result( op, rs ); goto cleanup; } if( get_ctrls( op, rs, 1 ) != LDAP_SUCCESS ) { Debug( LDAP_DEBUG_ANY, "%s do_modify: get_ctrls failed\n", op->o_log_prefix, 0, 0 ); + send_ldap_result( op, rs ); goto cleanup; } -- 2.39.5