dsdb/repl: Ensure we use the LOCAL attid value, not the remote one
commit38091dd1be6a87d6b1923f4605114596a5add25d
authorAndrew Bartlett <abartlet@samba.org>
Thu, 10 Mar 2016 00:43:15 +0000 (10 13:43 +1300)
committerKarolin Seeger <kseeger@samba.org>
Mon, 14 Mar 2016 09:02:15 +0000 (14 10:02 +0100)
tree197225278be6e96f32d034b7f7729d835b6cc230
parent2a80859025d89ba417d7adb99ac4e2bd03fe2a1a
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

(cherry picked from commit 6ecfc4cb254f9b2524ec5619ed8cee9db5d959b2)
source4/dsdb/repl/replicated_objects.c
source4/dsdb/schema/schema_syntax.c