]> git.sur5r.net Git - openldap/commitdiff
Fix slap_sasl2dn(), performing internal search with wrong op.o_ndn.
authorHoward Chu <hyc@openldap.org>
Wed, 4 Dec 2002 22:37:51 +0000 (22:37 +0000)
committerHoward Chu <hyc@openldap.org>
Wed, 4 Dec 2002 22:37:51 +0000 (22:37 +0000)
servers/slapd/saslauthz.c

index 8fdf1ca6049ee6459614ff8d1f2b314676fd46b3..c2e2200beea83ee011843371c6d19d2e517a76fc 100644 (file)
@@ -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;