From: Andrew Bartlett Date: Wed, 14 Dec 2005 17:16:06 +0000 (+0000) Subject: r12232: I hate SWAT code being outside 'source'. Add in code to push the X-Git-Url: http://git.samba.org/?a=commitdiff_plain;h=daa4cce71dddd93bd619a8569d7af3aef552bfea;p=metze%2Fsamba%2Fwip.git 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) --- diff --git a/swat/esptest/ldb.esp b/swat/esptest/ldb.esp index 93bc9e0d810c..cf2725fbcf76 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);