mirror of
https://github.com/samba-team/samba.git
synced 2025-12-14 20:23:54 +03:00
join.py: Use ctx.forestdns_zone variable
Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
This commit is contained in:
committed by
Stefan Metzmacher
parent
a8c6dd5438
commit
ca7c3fb279
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user