diff options
-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() |