mirror of
https://github.com/samba-team/samba.git
synced 2025-08-04 08:22:08 +03:00
tests: Replace some references to tdb with ldb://
Signed-off-by: Garming Sam <garming@catalyst.net.nz> Reviewed-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>
This commit is contained in:
committed by
Andrew Bartlett
parent
c25cec834c
commit
cfa1c0bcb6
@ -54,7 +54,7 @@ class EncryptedSecretsTests(TestCase):
|
||||
backend_subpath = os.path.join("sam.ldb.d",
|
||||
backend_filename)
|
||||
backend_path = self.lp.private_path(backend_subpath)
|
||||
backenddb = ldb.Ldb(backend_path)
|
||||
backenddb = ldb.Ldb("ldb://" + backend_path, flags=ldb.FLG_DONT_CREATE_DB)
|
||||
|
||||
dn = "CN=Administrator,CN=Users,%s" % basedn
|
||||
|
||||
|
Reference in New Issue
Block a user