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 /python/samba/netcmd/domain.py | |
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 'python/samba/netcmd/domain.py')
-rw-r--r-- | python/samba/netcmd/domain.py | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/python/samba/netcmd/domain.py b/python/samba/netcmd/domain.py index 217b5369b7..9824da1610 100644 --- a/python/samba/netcmd/domain.py +++ b/python/samba/netcmd/domain.py @@ -67,11 +67,14 @@ from samba.dsdb import ( from samba.credentials import DONT_USE_KERBEROS from samba.provision import ( provision, + ProvisioningError + ) + +from samba.provision.common import ( FILL_FULL, FILL_NT4SYNC, - FILL_DRS, - ProvisioningError, - ) + FILL_DRS +) def get_testparm_var(testparm, smbconf, varname): cmd = "%s -s -l --parameter-name='%s' %s 2>/dev/null" % (testparm, varname, smbconf) |