git.samba.org
/
vlendec
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7d8c409
)
getncchanges: fix highest_usn off by one calculation in get_nc_changes_add_links()
author
Stefan Metzmacher
<metze@samba.org>
Tue, 7 Feb 2017 11:34:45 +0000
(12:34 +0100)
committer
Andrew Bartlett
<abartlet@samba.org>
Wed, 8 Feb 2017 22:20:18 +0000
(23:20 +0100)
highest_usn is the the highest usn the destination dsa already knows about.
BUG: https://bugzilla.samba.org/show_bug.cgi?id=12398
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
source4/rpc_server/drsuapi/getncchanges.c
patch
|
blob
|
history
diff --git
a/source4/rpc_server/drsuapi/getncchanges.c
b/source4/rpc_server/drsuapi/getncchanges.c
index 9a564bc8e3f5c3390b07046c41551b35471133b1..f0e556793afc1aa77ec6168c31b6521b5d8fa7df 100644
(file)
--- a/
source4/rpc_server/drsuapi/getncchanges.c
+++ b/
source4/rpc_server/drsuapi/getncchanges.c
@@
-646,7
+646,7
@@
static WERROR get_nc_changes_add_links(struct ldb_context *sam_ctx,
return WERR_DS_DRA_INTERNAL_ERROR;
}
- if (local_usn < highest_usn) {
+ if (local_usn <
=
highest_usn) {
continue;
}