diff options
author | Stefan Metzmacher <metze@samba.org> | 2012-12-20 15:46:05 +0100 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2013-01-01 19:28:06 +0100 |
commit | ad43bb6086a7dbf48b405d0372ae85d2244384d9 (patch) | |
tree | 1c63f361eca9cf05ddaafab8e09ebb9f35714e83 /source4 | |
parent | 634f8cf7c43bd60507d842d35cf46c0017e34dce (diff) | |
download | samba-ad43bb6086a7dbf48b405d0372ae85d2244384d9.tar.gz samba-ad43bb6086a7dbf48b405d0372ae85d2244384d9.tar.bz2 samba-ad43bb6086a7dbf48b405d0372ae85d2244384d9.zip |
s4:dsdb/repl_meta_data: also update the last_sync_success in replUpToDateVector
This matches Windows 2008R2 and Windows 2012.
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'source4')
-rw-r--r-- | source4/dsdb/samdb/ldb_modules/repl_meta_data.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/source4/dsdb/samdb/ldb_modules/repl_meta_data.c b/source4/dsdb/samdb/ldb_modules/repl_meta_data.c index 6a69f7d1c9..b7d9248675 100644 --- a/source4/dsdb/samdb/ldb_modules/repl_meta_data.c +++ b/source4/dsdb/samdb/ldb_modules/repl_meta_data.c @@ -4563,12 +4563,8 @@ static int replmd_replicated_uptodate_modify(struct replmd_replicated_request *a found = true; - /* - * we update only the highest_usn and not the latest_sync_success time, - * because the last success stands for direct replication - */ if (ruv->cursors[i].highest_usn > nuv.ctr.ctr2.cursors[j].highest_usn) { - nuv.ctr.ctr2.cursors[j].highest_usn = ruv->cursors[i].highest_usn; + nuv.ctr.ctr2.cursors[j] = ruv->cursors[i]; } break; } |