summaryrefslogtreecommitdiff
path: root/source4/scripting/devel
diff options
context:
space:
mode:
authorKamen Mazdrashki <kamenim@samba.org>2010-11-23 17:19:29 +0200
committerKamen Mazdrashki <kamenim@samba.org>2010-11-23 18:01:05 +0100
commit9e24db1f2b8ba0cbef0ac9bda587a754ee2ab254 (patch)
tree653bb9dcc0c62ffc70eb08876ac957b21d856ff9 /source4/scripting/devel
parentff822209c158697d7354b91a289b33596b9d33cf (diff)
downloadsamba-9e24db1f2b8ba0cbef0ac9bda587a754ee2ab254.tar.gz
samba-9e24db1f2b8ba0cbef0ac9bda587a754ee2ab254.tar.bz2
samba-9e24db1f2b8ba0cbef0ac9bda587a754ee2ab254.zip
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)
Diffstat (limited to 'source4/scripting/devel')
-rwxr-xr-xsource4/scripting/devel/pfm_verify.py2
1 files changed, 1 insertions, 1 deletions
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)