From 20ec1289160365d6a1b0c2f7ea2ca20f924ff457 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20Kuzn=C3=ADk?= Date: Mon, 1 Feb 2021 14:22:45 +0000 Subject: [PATCH] ITS#9179 Always use effective identity when proxying --- servers/slapd/back-ldap/bind.c | 4 ---- 1 file changed, 4 deletions(-) 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; }