From: Pierangelo Masarati Date: Mon, 1 May 2006 22:54:07 +0000 (+0000) Subject: fix idassert "override" X-Git-Tag: OPENLDAP_REL_ENG_2_4_1ALPHA~2^2~97 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=3b5d411af2bf20c36d8e36da53e1fb0952d8f65b;p=openldap fix idassert "override" --- 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 {