summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source4/scripting/python/samba/tests/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/scripting/python/samba/tests/__init__.py b/source4/scripting/python/samba/tests/__init__.py
index 7a5c2aa694..63faf16919 100644
--- a/source4/scripting/python/samba/tests/__init__.py
+++ b/source4/scripting/python/samba/tests/__init__.py
@@ -146,7 +146,7 @@ def connect_samdb(samdb_url, lp=None, session_info=None,
if not lp:
lp=env_loadparm()
if not session_info:
- session_info=samba.auth.system_session()
+ session_info=samba.auth.system_session(lp)
if not credentials:
credentials=cmdline_credentials