From daa4cce71dddd93bd619a8569d7af3aef552bfea Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Wed, 14 Dec 2005 17:16:06 +0000 Subject: [PATCH] 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) --- swat/esptest/ldb.esp | 2 ++ 1 file changed, 2 insertions(+) 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); -- 2.34.1