diff options
author | Andrew Tridgell <tridge@samba.org> | 2005-07-20 07:20:03 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:29:48 -0500 |
commit | 86d628a292a22973597e0c06d4a36e20c58ae31c (patch) | |
tree | 502f4f8f915be7c4f7104cf6ad38d2239e6dff2d /swat/esptest/ldb.esp | |
parent | 620301858a5b747002eebe2b9fcef10712ee8249 (diff) | |
download | samba-86d628a292a22973597e0c06d4a36e20c58ae31c.tar.gz samba-86d628a292a22973597e0c06d4a36e20c58ae31c.tar.bz2 samba-86d628a292a22973597e0c06d4a36e20c58ae31c.zip |
r8639: moved loadparm calls into an ejs object
(This used to be commit 2dc493eea6f9d87c40ad0dc755f528ce0b33ca47)
Diffstat (limited to 'swat/esptest/ldb.esp')
-rw-r--r-- | swat/esptest/ldb.esp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/swat/esptest/ldb.esp b/swat/esptest/ldb.esp index b0a2db8dad..20b95b1590 100644 --- a/swat/esptest/ldb.esp +++ b/swat/esptest/ldb.esp @@ -5,7 +5,8 @@ <h3>An attribute constrained search</h3> <% -var dbfile = lpGet("sam database"); +var lp = loadparm_init(); +var dbfile = lp.get("sam database"); var attrs = new Array("name", "dnsDomain", "objectSid", "dn"); var ldb = ldb_init(); var ok = ldb.connect(dbfile); |