From: Ondřej Kuzník Date: Mon, 1 Feb 2021 14:22:45 +0000 (+0000) Subject: ITS#9179 Always use effective identity when proxying X-Git-Tag: OPENLDAP_REL_ENG_2_5_1ALPHA~11^2~4 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=20ec1289160365d6a1b0c2f7ea2ca20f924ff457;p=thirdparty%2Fopenldap.git ITS#9179 Always use effective identity when proxying --- diff --git a/servers/slapd/back-ldap/bind.c b/servers/slapd/back-ldap/bind.c index e0b2ca73b1..8ce4bb7302 100644 --- a/servers/slapd/back-ldap/bind.c +++ b/servers/slapd/back-ldap/bind.c @@ -2548,10 +2548,6 @@ ldap_back_proxy_authz_ctrl( if ( op->o_tag == LDAP_REQ_BIND ) { ndn = op->o_req_ndn; - - } else if ( !BER_BVISNULL( &op->o_conn->c_ndn ) ) { - ndn = op->o_conn->c_ndn; - } else { ndn = op->o_ndn; }