s4:dsdb/repl: make sure the working_schema prefix map is populated with the remote...
authorStefan Metzmacher <metze@samba.org>
Mon, 8 Aug 2016 09:07:18 +0000 (11:07 +0200)
committerJeremy Allison <jra@samba.org>
Wed, 10 Aug 2016 22:49:14 +0000 (00:49 +0200)
commitedeb577a59ea88d2a22559ffb8cbe994ea28f3f1
tree3817b8afa8127b956ce4465337dd387d683ec68b
parentf905ddc104bb130a63e714d16b6da41bc92d6864
s4:dsdb/repl: make sure the working_schema prefix map is populated with the remote prefix map

We should create the working_schema prefix map before we try to
resolve the schema. This allows getting the same mapping (if there's not already
a conflict) and allows us to remove the implicit prefix mapping creation
in the prefix mapping lookup functions.

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

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source4/dsdb/repl/replicated_objects.c