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/lib/ldb/tests/python/ldap.py | |
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/lib/ldb/tests/python/ldap.py')
-rwxr-xr-x | source4/lib/ldb/tests/python/ldap.py | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/source4/lib/ldb/tests/python/ldap.py b/source4/lib/ldb/tests/python/ldap.py index 4f35ead2de..aa1febd285 100755 --- a/source4/lib/ldb/tests/python/ldap.py +++ b/source4/lib/ldb/tests/python/ldap.py @@ -24,10 +24,9 @@ from ldb import ERR_UNDEFINED_ATTRIBUTE_TYPE from ldb import Message, MessageElement, Dn from ldb import FLAG_MOD_ADD, FLAG_MOD_REPLACE, FLAG_MOD_DELETE from samba import Ldb -from samba import UF_NORMAL_ACCOUNT -from samba import UF_WORKSTATION_TRUST_ACCOUNT -from samba import UF_PASSWD_NOTREQD, UF_ACCOUNTDISABLE -from samba import ATYPE_NORMAL_ACCOUNT, ATYPE_WORKSTATION_TRUST +from samba.dsdb import (UF_NORMAL_ACCOUNT, UF_WORKSTATION_TRUST_ACCOUNT, + UF_PASSWD_NOTREQD, UF_ACCOUNTDISABLE, ATYPE_NORMAL_ACCOUNT, + ATYPE_WORKSTATION_TRUST) from subunit.run import SubunitTestRunner import unittest |