r8645: updated the ldb esp test for the new ldb ejs syntax
authorAndrew Tridgell <tridge@samba.org>
Wed, 20 Jul 2005 11:13:11 +0000 (11:13 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 18:29:49 +0000 (13:29 -0500)
simo, when changing ejs syntax, please grep -r through the *.js and *.esp files to
fix all the callers. Thanks :)
(This used to be commit 8d0c9557a29a802800257af1bab38bfe57928c17)

swat/esptest/ldb.esp

index 20b95b1590e141091346fcf3988433794e576923..1b1e7cd669b807bdfdd2025607b783a0e045d463 100644 (file)
@@ -12,7 +12,7 @@ var ldb = ldb_init();
 var ok = ldb.connect(dbfile);
 assert(ok);
 
-res = ldb.search("(objectClass=domain)", attrs);
+res = ldb.search("(objectClass=domain)", NULL, ldb.SCOPE_DEFAULT, attrs);
 multi_table(res, "dn");
 %>