From 9e24db1f2b8ba0cbef0ac9bda587a754ee2ab254 Mon Sep 17 00:00:00 2001 From: Kamen Mazdrashki Date: Tue, 23 Nov 2010 17:19:29 +0200 Subject: s4-pfm_verify: Explicitly pass LoadParm() instance to system_session() function Otherwise system_session() creates a LoadParm() instance wich resets certain params to their defaults from smb.conf ("log level" for instance) --- source4/scripting/devel/pfm_verify.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source4') diff --git a/source4/scripting/devel/pfm_verify.py b/source4/scripting/devel/pfm_verify.py index 2f7be2b4bf..a7314d9c5a 100755 --- a/source4/scripting/devel/pfm_verify.py +++ b/source4/scripting/devel/pfm_verify.py @@ -134,7 +134,7 @@ if __name__ == "__main__": server = args[0] samdb = SamDB(url="ldap://%s" % server, - session_info=system_session(), + session_info=system_session(lp), credentials=creds, lp=lp) drs_pfm = _drs_fetch_pfm(server, samdb, creds, lp) -- cgit