From 574090d184148bd16d7f7d9dffd9d11695d10535 Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Wed, 4 Dec 2002 22:37:51 +0000 Subject: [PATCH] Fix slap_sasl2dn(), performing internal search with wrong op.o_ndn. --- servers/slapd/saslauthz.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.39.5