r8722: make the menu handling considerably saner and easier to follow. The whole
[sfrench/samba-autobuild/.git] / swat / esptest / ldb.esp
index 20b95b1590e141091346fcf3988433794e576923..93bc9e0d810cb56c5235bc19759f3eb6879f6f96 100644 (file)
@@ -1,4 +1,4 @@
-<% page_header("columns", "ESP ldb test", "/esptest/menu.js"); %>
+<% page_header("columns", "ESP ldb test", "esptest"); %>
 
 <h1>Samba4 ldb test</h1>
 
@@ -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");
 %>