From: Howard Chu Date: Tue, 24 Nov 2020 16:08:29 +0000 (+0000) Subject: ITS#9400 back-ldap: fix prev commit X-Git-Tag: OPENLDAP_REL_ENG_2_4_57~42 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d8e50d136d6861a31c601dc27f86def842fdf345;p=thirdparty%2Fopenldap.git ITS#9400 back-ldap: fix prev commit --- diff --git a/servers/slapd/back-ldap/bind.c b/servers/slapd/back-ldap/bind.c index c648301f3b..e3c9920767 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 && ( sendok & LDAP_BACK_SENDOK )) { + if ( op->o_tag == LDAP_REQ_BIND && ( sendok & LDAP_BACK_SENDERR )) { if ( !BER_BVISEMPTY( &ndn )) { dobind = 0; goto done;