dsdb/repl: Ensure we use the LOCAL attid value, not the remote one
commit6ecfc4cb254f9b2524ec5619ed8cee9db5d959b2
authorAndrew Bartlett <abartlet@samba.org>
Thu, 10 Mar 2016 00:43:15 +0000 (10 13:43 +1300)
committerStefan Metzmacher <metze@samba.org>
Sun, 13 Mar 2016 22:29:14 +0000 (13 23:29 +0100)
tree8b616dd6d09206c956ab19dae70be1d01e7e4b51
parent43353713231d3f0fb588378c69472b0b845b262f
dsdb/repl: Ensure we use the LOCAL attid value, not the remote one

The key here is that while this never was an issue for builtin schema,
nor for objects with an msDS-IntID used outside the schema partition,
additional attributes added and used in the schema partition were
incorrectly using the wrong attributeID value in the replPropertyMetaData.

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

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Garming Sam <garming@catalyst.net.nz>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
Autobuild-User(master): Stefan Metzmacher <metze@samba.org>
Autobuild-Date(master): Sun Mar 13 23:29:14 CET 2016 on sn-devel-144
source4/dsdb/repl/replicated_objects.c
source4/dsdb/schema/schema_syntax.c