summaryrefslogtreecommitdiffstats
path: root/swat
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2005-12-14 17:16:06 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:47:22 -0500
commitdaa4cce71dddd93bd619a8569d7af3aef552bfea (patch)
tree4d2b34f2ae1b66666db27eb76031a86380d1e165 /swat
parent39f914d4e70356bdad9fcdbca379565c9a608988 (diff)
downloadsamba-daa4cce71dddd93bd619a8569d7af3aef552bfea.tar.gz
samba-daa4cce71dddd93bd619a8569d7af3aef552bfea.tar.xz
samba-daa4cce71dddd93bd619a8569d7af3aef552bfea.zip
r12232: I hate SWAT code being outside 'source'. Add in code to push the
user's session info into ldb structure for the ldb tests. Andrew Bartlett (This used to be commit 4e1a60a24f7c38170a22d6092b4d5392f5bca5d3)
Diffstat (limited to 'swat')
-rw-r--r--swat/esptest/ldb.esp2
1 files changed, 2 insertions, 0 deletions
diff --git a/swat/esptest/ldb.esp b/swat/esptest/ldb.esp
index 93bc9e0d810..cf2725fbcf7 100644
--- a/swat/esptest/ldb.esp
+++ b/swat/esptest/ldb.esp
@@ -9,6 +9,8 @@ var lp = loadparm_init();
var dbfile = lp.get("sam database");
var attrs = new Array("name", "dnsDomain", "objectSid", "dn");
var ldb = ldb_init();
+ldb.session_info = session.authinfo.session_info;
+
var ok = ldb.connect(dbfile);
assert(ok);