s4-kcc: fixed result_last_attempt in showrepl
authorAndrew Tridgell <tridge@samba.org>
Wed, 17 Nov 2010 12:11:12 +0000 (23:11 +1100)
committerAndrew Tridgell <tridge@samba.org>
Wed, 17 Nov 2010 12:55:39 +0000 (23:55 +1100)
source4/dsdb/kcc/kcc_drs_replica_info.c

index 05f94349496857acc8c1db1c3088307e2b5add46..fab7202037fe2463724db5ba24d8e62fd808e1b1 100644 (file)
@@ -494,6 +494,7 @@ static WERROR copy_repsfrom_1_to_2(TALLOC_CTX *mem_ctx,
        reps->consecutive_sync_failures = reps1->consecutive_sync_failures;
        reps->last_attempt = reps1->last_attempt;
        reps->last_success = reps1->last_success;
+       reps->result_last_attempt = reps1->result_last_attempt;
        reps->other_info = talloc_zero(mem_ctx, struct repsFromTo2OtherInfo);
        W_ERROR_HAVE_NO_MEMORY(reps->other_info);
        reps->other_info->dns_name1 = reps1->other_info->dns_name;