From 9e9e3c988a458359b6db886369cc7fb397685571 Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Thu, 7 Apr 2005 19:54:37 +0000 Subject: [PATCH] Fix access error return --- servers/slapd/bconfig.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/servers/slapd/bconfig.c b/servers/slapd/bconfig.c index 0fe2f2b08e..816dd7a260 100644 --- a/servers/slapd/bconfig.c +++ b/servers/slapd/bconfig.c @@ -3419,7 +3419,7 @@ config_back_add( Operation *op, SlapReply *rs ) if ( !be_isroot( op ) ) { rs->sr_err = LDAP_INSUFFICIENT_ACCESS; - send_ldap_result( op, rs ); + goto out; } cfb = (CfBackInfo *)op->o_bd->be_private; @@ -3470,7 +3470,7 @@ config_back_modify( Operation *op, SlapReply *rs ) if ( !be_isroot( op ) ) { rs->sr_err = LDAP_INSUFFICIENT_ACCESS; - send_ldap_result( op, rs ); + goto out; } cfb = (CfBackInfo *)op->o_bd->be_private; @@ -3504,7 +3504,7 @@ config_back_modrdn( Operation *op, SlapReply *rs ) if ( !be_isroot( op ) ) { rs->sr_err = LDAP_INSUFFICIENT_ACCESS; - send_ldap_result( op, rs ); + goto out; } cfb = (CfBackInfo *)op->o_bd->be_private; @@ -3541,7 +3541,7 @@ config_back_search( Operation *op, SlapReply *rs ) if ( !be_isroot( op ) ) { rs->sr_err = LDAP_INSUFFICIENT_ACCESS; - send_ldap_result( op, rs ); + goto out; } cfb = (CfBackInfo *)op->o_bd->be_private; -- 2.39.5