diff options
author | Matthieu Patou <mat@matws.net> | 2011-07-30 11:05:40 +0400 |
---|---|---|
committer | Matthieu Patou <mat@samba.org> | 2011-07-31 00:17:17 +0200 |
commit | ff1907012a6552eb5f18b40a14465a9cf2ff9f0e (patch) | |
tree | 1764eb155de76c32cc6a72310e8ba3434fa1b801 /source4/dsdb/kcc | |
parent | 20493572178ed5791806dbdb4572f595db3110b2 (diff) | |
download | samba-ff1907012a6552eb5f18b40a14465a9cf2ff9f0e.tar.gz samba-ff1907012a6552eb5f18b40a14465a9cf2ff9f0e.tar.bz2 samba-ff1907012a6552eb5f18b40a14465a9cf2ff9f0e.zip |
s4-kcc: correctly populate the neighbor object when taking information from repsTo
Autobuild-User: Matthieu Patou <mat@samba.org>
Autobuild-Date: Sun Jul 31 00:17:17 CEST 2011 on sn-devel-104
Diffstat (limited to 'source4/dsdb/kcc')
-rw-r--r-- | source4/dsdb/kcc/kcc_drs_replica_info.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source4/dsdb/kcc/kcc_drs_replica_info.c b/source4/dsdb/kcc/kcc_drs_replica_info.c index 2629114afc..536684fff1 100644 --- a/source4/dsdb/kcc/kcc_drs_replica_info.c +++ b/source4/dsdb/kcc/kcc_drs_replica_info.c @@ -675,6 +675,9 @@ static WERROR fill_neighbor_from_repsTo(TALLOC_CTX *mem_ctx, return WERR_DS_DRA_INTERNAL_ERROR; } + neigh->last_success = reps_to->last_success; + neigh->result_last_attempt = reps_to->result_last_attempt; + neigh->consecutive_sync_failures = reps_to->consecutive_sync_failures; return WERR_OK; } |