diff options
author | Stefan Metzmacher <metze@samba.org> | 2012-12-19 17:29:04 +0100 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2013-01-01 19:28:06 +0100 |
commit | 634f8cf7c43bd60507d842d35cf46c0017e34dce (patch) | |
tree | 2a4a82d4de3a981453d044c6a659d4390e63199b /source4/dsdb | |
parent | a37f46a9a83a03157276485eb583649b36fb6ee1 (diff) | |
download | samba-634f8cf7c43bd60507d842d35cf46c0017e34dce.tar.gz samba-634f8cf7c43bd60507d842d35cf46c0017e34dce.tar.bz2 samba-634f8cf7c43bd60507d842d35cf46c0017e34dce.zip |
s4:dsdb/repl_meta_data: store the last results and timestamps in the repsFrom
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'source4/dsdb')
-rw-r--r-- | source4/dsdb/samdb/ldb_modules/repl_meta_data.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source4/dsdb/samdb/ldb_modules/repl_meta_data.c b/source4/dsdb/samdb/ldb_modules/repl_meta_data.c index 868484dd71..6a69f7d1c9 100644 --- a/source4/dsdb/samdb/ldb_modules/repl_meta_data.c +++ b/source4/dsdb/samdb/ldb_modules/repl_meta_data.c @@ -4652,6 +4652,9 @@ static int replmd_replicated_uptodate_modify(struct replmd_replicated_request *a ZERO_STRUCT(nrf); nrf.version = 1; nrf.ctr.ctr1 = *ar->objs->source_dsa; + nrf.ctr.ctr1.last_attempt = now; + nrf.ctr.ctr1.last_success = now; + nrf.ctr.ctr1.result_last_attempt = WERR_OK; /* * first see if we already have a repsFrom value for the current source dsa |