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/acl.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source4/dsdb/tests/python/acl.py') diff --git a/source4/dsdb/tests/python/acl.py b/source4/dsdb/tests/python/acl.py index d336fa9f43..85018b0a4d 100755 --- a/source4/dsdb/tests/python/acl.py +++ b/source4/dsdb/tests/python/acl.py @@ -1518,7 +1518,7 @@ class AclExtendedTests(AclTests): if not "://" in host: host = "ldap://%s" % host -ldb = SamDB(host, credentials=creds, session_info=system_session(), lp=lp) +ldb = SamDB(host, credentials=creds, session_info=system_session(lp), lp=lp) runner = SubunitTestRunner() rc = 0 -- cgit