summaryrefslogtreecommitdiff
path: root/source4/setup
diff options
context:
space:
mode:
Diffstat (limited to 'source4/setup')
-rwxr-xr-xsource4/setup/provision7
1 files changed, 5 insertions, 2 deletions
diff --git a/source4/setup/provision b/source4/setup/provision
index d8e2eb244b..bbd6298dc3 100755
--- a/source4/setup/provision
+++ b/source4/setup/provision
@@ -24,7 +24,6 @@
import optparse
import sys
-import os
import tempfile
# Find right directory when running from source tree
@@ -36,7 +35,11 @@ from samba.credentials import DONT_USE_KERBEROS
from samba.auth import system_session
import samba.getopt as options
from samba.provision import provision, FILL_FULL, FILL_NT4SYNC, FILL_DRS, find_setup_dir
-from samba import DS_DOMAIN_FUNCTION_2003, DS_DOMAIN_FUNCTION_2008, DS_DOMAIN_FUNCTION_2008_R2
+from samba.dsdb import (
+ DS_DOMAIN_FUNCTION_2003,
+ DS_DOMAIN_FUNCTION_2008,
+ DS_DOMAIN_FUNCTION_2008_R2,
+ )
from samba.provisionexceptions import ProvisioningError
# how do we make this case insensitive??