From ca7c3fb279ba8367e00053fe344a72af063bdbcd Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Fri, 11 Oct 2013 09:37:41 +1300 Subject: join.py: Use ctx.forestdns_zone variable Signed-off-by: Andrew Bartlett Reviewed-by: Stefan Metzmacher --- python/samba/join.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'python') 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() -- cgit