summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2013-10-11 09:47:29 +1300
committerStefan Metzmacher <metze@samba.org>2013-10-11 08:34:03 +0200
commit5a9265de88bd5a1e9582ce57b5c5076826e01a85 (patch)
treeacaf94a2b21712269bfb8c4072d16ff973ee34d8 /python
parentca7c3fb279ba8367e00053fe344a72af063bdbcd (diff)
downloadsamba-5a9265de88bd5a1e9582ce57b5c5076826e01a85.tar.gz
samba-5a9265de88bd5a1e9582ce57b5c5076826e01a85.tar.bz2
samba-5a9265de88bd5a1e9582ce57b5c5076826e01a85.zip
join.py: Remove special full_ncs handling, we only need to updateRefs on an NC we replicate
Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
Diffstat (limited to 'python')
-rw-r--r--python/samba/join.py9
1 files changed, 2 insertions, 7 deletions
diff --git a/python/samba/join.py b/python/samba/join.py
index e4fba6359d..2a737bab3c 100644
--- a/python/samba/join.py
+++ b/python/samba/join.py
@@ -65,7 +65,6 @@ class dc_join(object):
ctx.promote_from_dn = None
ctx.nc_list = []
- ctx.full_nc_list = []
ctx.creds.set_gensec_features(creds.get_gensec_features() | gensec.FEATURE_SEAL)
ctx.net = Net(creds=ctx.creds, lp=ctx.lp)
@@ -875,8 +874,8 @@ class dc_join(object):
# DC we just replicated from then we don't need to send the updatereplicateref
# as replication between sites is time based and on the initiative of the
# requesting DC
- ctx.logger.info("Sending DsReplicateUpdateRefs for all the replicated partitions")
- for nc in ctx.full_nc_list:
+ ctx.logger.info("Sending DsReplicaUpdateRefs for all the replicated partitions")
+ for nc in ctx.nc_list:
ctx.send_DsReplicaUpdateRefs(nc)
if ctx.RODC:
@@ -1053,7 +1052,6 @@ class dc_join(object):
# full_nc_list is the list of naming context (NC) for which we will
# send a updateRef command to the partner DC
ctx.nc_list = [ ctx.config_dn, ctx.schema_dn ]
- ctx.full_nc_list = [ctx.base_dn, ctx.config_dn, ctx.schema_dn ]
if not ctx.subdomain:
ctx.nc_list += [ctx.base_dn]
@@ -1061,9 +1059,6 @@ class dc_join(object):
ctx.nc_list += [ctx.domaindns_zone]
if ctx.dns_backend != "NONE":
- if not ctx.subdomain:
- ctx.full_nc_list += ['DC=DomainDnsZones,%s' % ctx.base_dn]
- ctx.full_nc_list += [ctx.forestdns_zone]
ctx.nc_list += [ctx.forestdns_zone]
if ctx.promote_existing: