diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2010-04-04 00:14:23 +0200 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2010-04-04 00:14:23 +0200 |
commit | 31a517e1721fc0080473b376cd59c090cfab6456 (patch) | |
tree | 8e75013e726e9906a62d208c62624ae9927bb550 /source4/setup/provision | |
parent | e5b33be2f2655ae8b3a59bf7fe54174464c8cbe9 (diff) | |
download | samba-31a517e1721fc0080473b376cd59c090cfab6456.tar.gz samba-31a517e1721fc0080473b376cd59c090cfab6456.tar.bz2 samba-31a517e1721fc0080473b376cd59c090cfab6456.zip |
s4-python: Move dsdb constants to a separate python module.
Diffstat (limited to 'source4/setup/provision')
-rwxr-xr-x | source4/setup/provision | 7 |
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?? |