summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2013-10-11 09:37:41 +1300
committerStefan Metzmacher <metze@samba.org>2013-10-11 08:33:23 +0200
commitca7c3fb279ba8367e00053fe344a72af063bdbcd (patch)
tree04cede9b54fa61db79a94b7250e621158f02b221
parenta8c6dd54381412201051fdc78f13e60ec9c47de6 (diff)
downloadsamba-ca7c3fb279ba8367e00053fe344a72af063bdbcd.tar.gz
samba-ca7c3fb279ba8367e00053fe344a72af063bdbcd.tar.bz2
samba-ca7c3fb279ba8367e00053fe344a72af063bdbcd.zip
join.py: Use ctx.forestdns_zone variable
Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
-rw-r--r--python/samba/join.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/python/samba/join.py b/python/samba/join.py
index 2576a8b966..e4fba6359d 100644
--- a/python/samba/join.py
+++ b/python/samba/join.py
@@ -1063,8 +1063,8 @@ class dc_join(object):
if ctx.dns_backend != "NONE":
if not ctx.subdomain:
ctx.full_nc_list += ['DC=DomainDnsZones,%s' % ctx.base_dn]
- ctx.full_nc_list += ['DC=ForestDnsZones,%s' % ctx.root_dn]
- ctx.nc_list += ['DC=ForestDnsZones,%s' % ctx.root_dn]
+ ctx.full_nc_list += [ctx.forestdns_zone]
+ ctx.nc_list += [ctx.forestdns_zone]
if ctx.promote_existing:
ctx.promote_possible()