diff options
author | Andrew Tridgell <tridge@samba.org> | 2009-09-15 11:47:42 -0700 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2009-09-15 14:52:01 -0700 |
commit | 48bc784e089fabf5f3f5a4e4d4ff47ce97ece74b (patch) | |
tree | 8e01e6a3e0a782c1b9534d7173fae85647ad0912 | |
parent | 7f3817ab77ce85ab19c2c582eca0df84c36466dc (diff) | |
download | samba-48bc784e089fabf5f3f5a4e4d4ff47ce97ece74b.tar.gz samba-48bc784e089fabf5f3f5a4e4d4ff47ce97ece74b.tar.bz2 samba-48bc784e089fabf5f3f5a4e4d4ff47ce97ece74b.zip |
s4-drs: filter based on local_usn
The getncchanges uSN is in our local space, so we must compare it to
the local_usn in replPropertyMetaData
-rw-r--r-- | source4/rpc_server/drsuapi/getncchanges.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/rpc_server/drsuapi/getncchanges.c b/source4/rpc_server/drsuapi/getncchanges.c index 165e485d45..a05ddb9a5d 100644 --- a/source4/rpc_server/drsuapi/getncchanges.c +++ b/source4/rpc_server/drsuapi/getncchanges.c @@ -86,7 +86,7 @@ static WERROR get_nc_changes_build_object(struct drsuapi_DsReplicaObjectListItem obj->meta_data_ctr->meta_data = talloc_array(obj, struct drsuapi_DsReplicaMetaData, md.ctr.ctr1.count); for (n=i=0; i<md.ctr.ctr1.count; i++) { - if (md.ctr.ctr1.array[i].originating_usn < highest_usn) continue; + if (md.ctr.ctr1.array[i].local_usn < highest_usn) continue; obj->meta_data_ctr->meta_data[n].originating_change_time = md.ctr.ctr1.array[i].originating_change_time; obj->meta_data_ctr->meta_data[n].version = md.ctr.ctr1.array[i].version; obj->meta_data_ctr->meta_data[n].originating_invocation_id = md.ctr.ctr1.array[i].originating_invocation_id; |