From 3b5d411af2bf20c36d8e36da53e1fb0952d8f65b Mon Sep 17 00:00:00 2001 From: Pierangelo Masarati Date: Mon, 1 May 2006 22:54:07 +0000 Subject: [PATCH] fix idassert "override" --- servers/slapd/back-ldap/bind.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/servers/slapd/back-ldap/bind.c b/servers/slapd/back-ldap/bind.c index 61f69630b3..5eaa6f8d4f 100644 --- a/servers/slapd/back-ldap/bind.c +++ b/servers/slapd/back-ldap/bind.c @@ -1227,7 +1227,10 @@ ldap_back_proxy_authz_bind( ldapconn_t *lc, Operation *op, SlapReply *rs, ldap_b goto done; } - if ( !BER_BVISNULL( &op->o_conn->c_ndn ) ) { + 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 { -- 2.39.5