From: Howard Chu Date: Wed, 4 Dec 2002 22:37:51 +0000 (+0000) Subject: Fix slap_sasl2dn(), performing internal search with wrong op.o_ndn. X-Git-Tag: NO_SLAP_OP_BLOCKS~722 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=574090d184148bd16d7f7d9dffd9d11695d10535;p=openldap Fix slap_sasl2dn(), performing internal search with wrong op.o_ndn. --- diff --git a/servers/slapd/saslauthz.c b/servers/slapd/saslauthz.c index 8fdf1ca604..c2e2200bee 100644 --- a/servers/slapd/saslauthz.c +++ b/servers/slapd/saslauthz.c @@ -618,7 +618,7 @@ void slap_sasl2dn( Connection *conn, op.o_tag = LDAP_REQ_SEARCH; op.o_protocol = LDAP_VERSION3; - op.o_ndn = *saslname; + op.o_ndn = conn->c_ndn; op.o_callback = &cb; op.o_time = slap_get_time(); op.o_do_not_cache = 1;