r12232: I hate SWAT code being outside 'source'. Add in code to push the
authorAndrew Bartlett <abartlet@samba.org>
Wed, 14 Dec 2005 17:16:06 +0000 (17:16 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 18:47:22 +0000 (13:47 -0500)
user's session info into ldb structure for the ldb tests.

Andrew Bartlett

swat/esptest/ldb.esp

index 93bc9e0d810cb56c5235bc19759f3eb6879f6f96..cf2725fbcf76cc45f5d0ec96503fe11964d0a3b6 100644 (file)
@@ -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();
 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);
 
 var ok = ldb.connect(dbfile);
 assert(ok);