From 2e259de0849becd73a76841186c303984feff083 Mon Sep 17 00:00:00 2001 From: Kamen Mazdrashki Date: Wed, 15 Dec 2010 15:16:54 +0200 Subject: s4-dsdb/tests/python: Explicitly pass comamnd line LoadParm() instance to system_session() Otherwise system_session() creates a LoadParm() instance which resets certain global parameters to their defaults from smb.conf ("log level" for instance) Autobuild-User: Kamen Mazdrashki Autobuild-Date: Wed Dec 15 15:10:47 CET 2010 on sn-devel-104 --- source4/dsdb/tests/python/passwords.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source4/dsdb/tests/python/passwords.py') diff --git a/source4/dsdb/tests/python/passwords.py b/source4/dsdb/tests/python/passwords.py index e43298e34d..28a0776524 100755 --- a/source4/dsdb/tests/python/passwords.py +++ b/source4/dsdb/tests/python/passwords.py @@ -919,7 +919,7 @@ if not "://" in host: else: host = "ldap://%s" % host -ldb = SamDB(url=host, session_info=system_session(), credentials=creds, lp=lp) +ldb = SamDB(url=host, session_info=system_session(lp), credentials=creds, lp=lp) # Gets back the basedn base_dn = ldb.domain_dn() -- cgit