From: Howard Chu Date: Mon, 23 Nov 2020 05:14:30 +0000 (+0000) Subject: ITS#9400 back-ldap: fix retry binds X-Git-Tag: OPENLDAP_REL_ENG_2_4_57~43 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0dd812ec73670b15819a4202f227f02ff26ee64c;p=thirdparty%2Fopenldap.git ITS#9400 back-ldap: fix retry binds Regression from fix for ITS#7403 --- diff --git a/servers/slapd/back-ldap/bind.c b/servers/slapd/back-ldap/bind.c index 945d1433ed..c648301f3b 100644 --- a/servers/slapd/back-ldap/bind.c +++ b/servers/slapd/back-ldap/bind.c @@ -2120,7 +2120,7 @@ ldap_back_is_proxy_authz( Operation *op, SlapReply *rs, ldap_back_send_t sendok, } if ( !( li->li_idassert_flags & LDAP_BACK_AUTH_OVERRIDE )) { - if ( op->o_tag == LDAP_REQ_BIND ) { + if ( op->o_tag == LDAP_REQ_BIND && ( sendok & LDAP_BACK_SENDOK )) { if ( !BER_BVISEMPTY( &ndn )) { dobind = 0; goto done;