s4:dsdb/schema: don't treat an older remote schema as SCHEMA_MISMATCH
authorStefan Metzmacher <metze@samba.org>
Thu, 4 Aug 2016 09:00:34 +0000 (11:00 +0200)
committerJeremy Allison <jra@samba.org>
Wed, 10 Aug 2016 22:49:14 +0000 (00:49 +0200)
commit0a1627de6d7c70f2462a4d4db717ea50c8aefc2f
treeece00a2f7967fc1e86c042dace1725510cbaf08a
parent386dbc428b447bbdf9c500191273658b92b13f7a
s4:dsdb/schema: don't treat an older remote schema as SCHEMA_MISMATCH

It's perfectly valid to replicate from a partner with an older schema
version, otherwise schema changes would block any other replication
until every dc in the forest has the schema changes.

The avoids an endless loop trying to get schema in sync with the partner.

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

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source4/dsdb/schema/schema_info_attr.c
source4/torture/drs/unit/schemainfo_tests.c