diff options
-rw-r--r-- | swat/esptest/ldb.esp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/swat/esptest/ldb.esp b/swat/esptest/ldb.esp index 93bc9e0d81..cf2725fbcf 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); |