diff options
author | Andrew Bartlett <abartlet@samba.org> | 2013-10-11 09:37:41 +1300 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2013-10-11 08:33:23 +0200 |
commit | ca7c3fb279ba8367e00053fe344a72af063bdbcd (patch) | |
tree | 04cede9b54fa61db79a94b7250e621158f02b221 /python | |
parent | a8c6dd54381412201051fdc78f13e60ec9c47de6 (diff) | |
download | samba-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>
Diffstat (limited to 'python')
-rw-r--r-- | python/samba/join.py | 4 |
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() |