summaryrefslogtreecommitdiff
path: root/source4/lib/ldb/tests/python
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2010-06-20 01:37:06 +0200
committerJelmer Vernooij <jelmer@samba.org>2010-06-20 01:37:06 +0200
commita5e8ef884b847c5db50431956db0ef5ecc5f77e2 (patch)
tree3cff11fde74c95fd01c1b5bfd976047a9836db79 /source4/lib/ldb/tests/python
parent1d86414eb022bd8c4d86bdab094a06f43e4eb10c (diff)
downloadsamba-a5e8ef884b847c5db50431956db0ef5ecc5f77e2.tar.gz
samba-a5e8ef884b847c5db50431956db0ef5ecc5f77e2.tar.bz2
samba-a5e8ef884b847c5db50431956db0ef5ecc5f77e2.zip
Move a few more samdb-specific methods to SamDB, away from Ldb.
Diffstat (limited to 'source4/lib/ldb/tests/python')
-rwxr-xr-xsource4/lib/ldb/tests/python/dsdb_schema_info.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/lib/ldb/tests/python/dsdb_schema_info.py b/source4/lib/ldb/tests/python/dsdb_schema_info.py
index f6e0024b7b..56d9b117ab 100755
--- a/source4/lib/ldb/tests/python/dsdb_schema_info.py
+++ b/source4/lib/ldb/tests/python/dsdb_schema_info.py
@@ -34,7 +34,7 @@ sys.path.append("bin/python")
from samba.auth import system_session
from ldb import SCOPE_BASE, LdbError
-from samba import Ldb
+from samba.samdb import SamDB
import samba.tests
import samba.dcerpc.drsuapi
@@ -203,7 +203,7 @@ if not "://" in ldb_url:
# user 'paged_search' module when connecting remotely
ldb_options = ["modules:paged_searches"]
-ldb = Ldb(url=ldb_url,
+ldb = SamDB(url=ldb_url,
lp=samba.tests.env_loadparm(),
session_info=system_session(),
credentials=samba.tests.cmdline_credentials,