mirror of
https://github.com/samba-team/samba.git
synced 2025-08-05 12:22:11 +03:00
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 <kamenim@samba.org> Autobuild-Date: Wed Dec 15 15:10:47 CET 2010 on sn-devel-104
This commit is contained in:
@ -379,7 +379,7 @@ if not "://" in host:
|
||||
else:
|
||||
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
|
||||
|
Reference in New Issue
Block a user