TODO: dsdb/repl: Reduce noice during replication of Windows 2012 R2 schema by ignorin...
authorAndrew Bartlett <abartlet@samba.org>
Sat, 3 Sep 2016 09:58:47 +0000 (21:58 +1200)
committerStefan Metzmacher <metze@samba.org>
Mon, 18 Feb 2019 10:31:19 +0000 (11:31 +0100)
We do not need to know about the attributes that are permitted in a
class, nor the permitted parent or subClass values to convert the
objects from DRS, as we never enforce schema restrictions on DRS
replicated objects.

This will not change how we eventually succeed or fail, because we
have to convert the object in the end, but this means less looping
while we do that.

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
source4/dsdb/repl/replicated_objects.c

index 7eb6e16319dece194645fc63c770c4cb0128e18d..b0d462c7a4f4e53a30cd8de64d577c7c4cb37612 100644 (file)
@@ -125,8 +125,11 @@ WERROR dsdb_repl_resolve_working_schema(struct ldb_context *ldb,
        int ret, pass_no;
        uint32_t ignore_attids[] = {
                        DRSUAPI_ATTID_auxiliaryClass,
+                       DRSUAPI_ATTID_systemAuxiliaryClass,
                        DRSUAPI_ATTID_mayContain,
+                       DRSUAPI_ATTID_systemMayContain,
                        DRSUAPI_ATTID_mustContain,
+                       DRSUAPI_ATTID_systemMustContain,
                        DRSUAPI_ATTID_possSuperiors,
                        DRSUAPI_ATTID_systemPossSuperiors,
                        DRSUAPI_ATTID_INVALID