summaryrefslogtreecommitdiffstats
path: root/source4/scripting/python/samba/upgradehelpers.py
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2010-04-04 00:14:23 +0200
committerJelmer Vernooij <jelmer@samba.org>2010-04-04 00:14:23 +0200
commit31a517e1721fc0080473b376cd59c090cfab6456 (patch)
tree8e75013e726e9906a62d208c62624ae9927bb550 /source4/scripting/python/samba/upgradehelpers.py
parente5b33be2f2655ae8b3a59bf7fe54174464c8cbe9 (diff)
downloadsamba-31a517e1721fc0080473b376cd59c090cfab6456.tar.gz
samba-31a517e1721fc0080473b376cd59c090cfab6456.tar.xz
samba-31a517e1721fc0080473b376cd59c090cfab6456.zip
s4-python: Move dsdb constants to a separate python module.
Diffstat (limited to 'source4/scripting/python/samba/upgradehelpers.py')
-rwxr-xr-xsource4/scripting/python/samba/upgradehelpers.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/source4/scripting/python/samba/upgradehelpers.py b/source4/scripting/python/samba/upgradehelpers.py
index 57c7feeb4f8..25d1d7fe296 100755
--- a/source4/scripting/python/samba/upgradehelpers.py
+++ b/source4/scripting/python/samba/upgradehelpers.py
@@ -27,7 +27,8 @@ import string
import re
import shutil
-from samba import Ldb, DS_DOMAIN_FUNCTION_2000
+from samba import Ldb
+from samba.dsdb import DS_DOMAIN_FUNCTION_2000
from ldb import SCOPE_SUBTREE, SCOPE_ONELEVEL, SCOPE_BASE
import ldb
from samba.provision import ProvisionNames, provision_paths_from_lp, FILL_FULL, provision