replmd: Fix RMD_VERSION inital value to match Windows
commit4cb260f8c06edd3ab1f9a52867fc4d8124ebb0b5
authorTim Beale <timbeale@catalyst.net.nz>
Thu, 28 Sep 2017 02:09:34 +0000 (28 15:09 +1300)
committerAndrew Bartlett <abartlet@samba.org>
Fri, 20 Oct 2017 02:05:21 +0000 (20 04:05 +0200)
treedee8b03d8b9d0836c979d518e90758f6885594c3
parentcef17ce4f04bacb50193cb7e7a2cfd53fdf61110
replmd: Fix RMD_VERSION inital value to match Windows

The initial value for RMD_VERSION is one on Windows. The MS-DRSR spec
states the following in section 5.11 AttributeStamp:

  dwVersion: A 32-bit integer. Set to 1 when a value for the attribute is
  set for the first time. On each subsequent originating update, if the
  current value of dwVersion is less than 0xFFFFFFFF, then increment it
  by 1; otherwise set it to 0

BUG: https://bugzilla.samba.org/show_bug.cgi?id=13059

Signed-off-by: Tim Beale <timbeale@catalyst.net.nz>
Reviewed-by: Garming Sam <garming@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
selftest/knownfail.d/link_conflicts [deleted file]
source4/dsdb/samdb/ldb_modules/repl_meta_data.c