diff options
author | Andrew Bartlett <abartlet@samba.org> | 2013-09-09 11:54:23 +1200 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2013-10-11 10:27:49 +0200 |
commit | af3138e9b6813ef88698c3e6eeb280c6e988c4cc (patch) | |
tree | fb924ffb5400d0125776850b82743274efd45c2b /source4/scripting/bin/samba_upgradedns | |
parent | d5077baee26c593eb55cedf90ae440f50aa32e14 (diff) | |
download | samba-af3138e9b6813ef88698c3e6eeb280c6e988c4cc.tar.gz samba-af3138e9b6813ef88698c3e6eeb280c6e988c4cc.tar.bz2 samba-af3138e9b6813ef88698c3e6eeb280c6e988c4cc.zip |
samba-tool domain join subdomain: Rework sambadns.py to allow setup of DomainDNSZone only
This skips handling the ForestDNSZone when we are setting up a subdomain.
Andrew Bartlett
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
Autobuild-User(master): Stefan Metzmacher <metze@samba.org>
Autobuild-Date(master): Fri Oct 11 10:27:49 CEST 2013 on sn-devel-104
Diffstat (limited to 'source4/scripting/bin/samba_upgradedns')
-rwxr-xr-x | source4/scripting/bin/samba_upgradedns | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/source4/scripting/bin/samba_upgradedns b/source4/scripting/bin/samba_upgradedns index 6b208c927f..d2c96cc1c2 100755 --- a/source4/scripting/bin/samba_upgradedns +++ b/source4/scripting/bin/samba_upgradedns @@ -46,7 +46,8 @@ from samba.provision import ( interface_ips_v6 ) from samba.provision.common import ( setup_path, - setup_add_ldif ) + setup_add_ldif, + FILL_FULL) from samba.provision.sambadns import ( ARecord, AAAARecord, @@ -339,7 +340,7 @@ if __name__ == '__main__': logger.debug("IPv6 addresses: %s" % hostip6) create_dns_partitions(ldbs.sam, domainsid, names, domaindn, forestdn, - dnsadmins_sid) + dnsadmins_sid, FILL_FULL) logger.info("Populating DNS partitions") fill_dns_data_partitions(ldbs.sam, domainsid, site, domaindn, forestdn, |