diff options
author | Andrew Tridgell <tridge@samba.org> | 2005-07-15 09:23:23 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:23:08 -0500 |
commit | 4f62205cad46539cc459efe106c0a036f08ed0b9 (patch) | |
tree | b49ec98e0dab71b213347c65799f65a618e18a89 /testprogs | |
parent | 32b06d5882a6fc93692815392e0a94d0709bc273 (diff) | |
download | samba-4f62205cad46539cc459efe106c0a036f08ed0b9.tar.gz samba-4f62205cad46539cc459efe106c0a036f08ed0b9.tar.bz2 samba-4f62205cad46539cc459efe106c0a036f08ed0b9.zip |
r8486: switched to a separate connection operation in ldb interface
(a suggestion from simo)
(This used to be commit 98c9c4ecb87e1b140002390067892806464849da)
Diffstat (limited to 'testprogs')
-rw-r--r-- | testprogs/ejs/ldb.js | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/testprogs/ejs/ldb.js b/testprogs/ejs/ldb.js index 133de27aef..f27f49c7a4 100644 --- a/testprogs/ejs/ldb.js +++ b/testprogs/ejs/ldb.js @@ -15,11 +15,12 @@ printVars(res); println("and now an unconstrained search"); var dbfile = lpGet("sam database"); -res = ldb.search(dbfile, "(objectClass=user)"); +var db = ldb.connect(dbfile); +res = ldb.search(db, "(objectClass=user)"); printVars(res); println("and a bad search"); -res = ldb.search("foo"); +res = ldb.search(db, "foo"); println("all done"); |