]> git.ipfire.org Git - thirdparty/openldap.git/commitdiff
ITS#9400 back-ldap: fix prev commit
authorHoward Chu <hyc@openldap.org>
Tue, 24 Nov 2020 16:08:29 +0000 (16:08 +0000)
committerQuanah Gibson-Mount <quanah@openldap.org>
Wed, 2 Dec 2020 21:28:17 +0000 (21:28 +0000)
servers/slapd/back-ldap/bind.c

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