diff options
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); |