]> git.sur5r.net Git - openldap/commitdiff
Fix uninit'd op req DN
authorHoward Chu <hyc@openldap.org>
Tue, 19 Jun 2007 13:07:12 +0000 (13:07 +0000)
committerHoward Chu <hyc@openldap.org>
Tue, 19 Jun 2007 13:07:12 +0000 (13:07 +0000)
servers/slapd/syncrepl.c

index 069d2ee754b4fbc0cf83c9be60f3e07960da7b82..85389e74c043cd6a795ff20fb5c6a50d686ff9d6 100644 (file)
@@ -536,6 +536,8 @@ do_syncrep1(
                at[0].an_name = a.a_desc->ad_cname;
                at[0].an_desc = a.a_desc;
                BER_BVZERO( &at[1].an_name );
+               op->o_req_dn = e.e_name;
+               op->o_req_ndn = e.e_nname;
 
                ldap_pvt_thread_mutex_lock( &si->si_cookieState->cs_mutex );
                rc = backend_operational( op, &rs );