1
0
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:
Andrew Bartlett
2013-10-11 09:37:41 +13:00
committed by Stefan Metzmacher
parent a8c6dd5438
commit ca7c3fb279

View File

@@ -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()