From: Howard Chu Date: Thu, 7 Apr 2005 19:54:37 +0000 (+0000) Subject: Fix access error return X-Git-Tag: OPENLDAP_AC_BP~988 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=9e9e3c988a458359b6db886369cc7fb397685571;p=openldap Fix access error return --- 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;