]> 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)
committerHoward Chu <hyc@openldap.org>
Tue, 24 Nov 2020 16:08:29 +0000 (16:08 +0000)
servers/slapd/back-ldap/bind.c

index 1e24b2fc3d44b439ba2eb0cc1f593d28bd0c8821..e6a3db1444d8dd0e647cce24945fd740d82ea176 100644 (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 && ( sendok & LDAP_BACK_SENDOK )) {
+               if ( op->o_tag == LDAP_REQ_BIND && ( sendok & LDAP_BACK_SENDERR )) {
                        if ( !BER_BVISEMPTY( &ndn )) {
                                dobind = 0;
                                goto done;