repl: Retry replication of the schema on WERR_DS_DRA_SCHEMA_MISMATCH
commitee80da56b96721170a3349531292827888e0c3e2
authorAndrew Bartlett <abartlet@samba.org>
Wed, 4 May 2016 04:19:09 +0000 (4 16:19 +1200)
committerAndrew Bartlett <abartlet@samba.org>
Mon, 6 Jun 2016 06:50:09 +0000 (6 08:50 +0200)
tree4161305c8e470475f59c46d2dbfe992102531baa
parentdb15993401f927fd2fcea1687c4155dce2272aa8
repl: Retry replication of the schema on WERR_DS_DRA_SCHEMA_MISMATCH

This makes us replicate the schema, and then go back to what we asked to replicate
originally, when the schema changes.  This should make the replication much more
robust after schema changes

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Garming Sam <garming@catalyst.net.nz>
source4/dsdb/repl/drepl_out_helpers.c
source4/dsdb/repl/drepl_service.h
source4/dsdb/repl/replicated_objects.c
source4/torture/drs/python/repl_schema.py