ITS#9400 back-ldap: fix retry binds

Regression from fix for ITS#7403
This commit is contained in:
Howard Chu 2020-11-23 05:14:30 +00:00
parent 1aef660f0b
commit 1ea12260d5

View File

@ -2102,7 +2102,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;