1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-13 13:18:06 +03:00

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)
This commit is contained in:
Kamen Mazdrashki 2010-11-23 17:19:29 +02:00
parent ff822209c1
commit 9e24db1f2b

View File

@ -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)