samba-tool domain join subdomain: Rework sambadns.py to allow setup of DomainDNSZone...
[obnox/samba/samba-obnox.git] / python / samba / netcmd / domain.py
index 217b5369b7b24027bb15c8a3c51fba7568cd7656..9824da1610196cfff4db5005b9ce1316e641961a 100644 (file)
@@ -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)