From: Pierangelo Masarati Date: Sun, 9 Jan 2005 23:30:19 +0000 (+0000) Subject: clear out the error X-Git-Tag: OPENLDAP_REL_ENG_2_3_BP~440 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=41d7c03e8b05ac59b44a653c83482c9e4873eeae;p=openldap clear out the error --- diff --git a/servers/slapd/back-ldap/bind.c b/servers/slapd/back-ldap/bind.c index c098acb8cb..eedc66cfb8 100644 --- a/servers/slapd/back-ldap/bind.c +++ b/servers/slapd/back-ldap/bind.c @@ -742,6 +742,8 @@ ldap_back_proxy_authz_ctrl( *pctrls = NULL; + rs->sr_err = LDAP_SUCCESS; + if ( ( BER_BVISNULL( &li->idassert_authcID ) || BER_BVISEMPTY( &li->idassert_authcID ) ) && ( BER_BVISNULL( &li->idassert_authcDN ) || BER_BVISEMPTY( &li->idassert_authcDN ) ) ) { goto done;