From 2073f751b5e8f0d16c5c9f483420a3772a9e0d80 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Mon, 31 Oct 2016 00:30:07 +0100 Subject: [PATCH] HACK! python/samba/join.py no DRSUAPI_DRS_CRITICAL_ONLY by default BUG: https://bugzilla.samba.org/show_bug.cgi?id=12398 --- python/samba/join.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/samba/join.py b/python/samba/join.py index a50a409..0893e4e 100644 --- a/python/samba/join.py +++ b/python/samba/join.py @@ -882,7 +882,7 @@ class dc_join(object): replica_flags=ctx.replica_flags) if not ctx.subdomain: # Replicate first the critical object for the basedn - if not ctx.domain_replica_flags & drsuapi.DRSUAPI_DRS_CRITICAL_ONLY: + if False: #not ctx.domain_replica_flags & drsuapi.DRSUAPI_DRS_CRITICAL_ONLY: print "Replicating critical objects from the base DN of the domain" ctx.domain_replica_flags |= drsuapi.DRSUAPI_DRS_CRITICAL_ONLY | drsuapi.DRSUAPI_DRS_GET_ANC repl.replicate(ctx.base_dn, source_dsa_invocation_id, -- 1.9.1