]> git.sur5r.net Git - openldap/commitdiff
clear out the error
authorPierangelo Masarati <ando@openldap.org>
Sun, 9 Jan 2005 23:30:19 +0000 (23:30 +0000)
committerPierangelo Masarati <ando@openldap.org>
Sun, 9 Jan 2005 23:30:19 +0000 (23:30 +0000)
servers/slapd/back-ldap/bind.c

index c098acb8cba5fa4f49feb78599dc909bd8daf577..eedc66cfb856ddb5ed72bc1209c2a6ab10772e86 100644 (file)
@@ -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;