1 <% page_header("columns", "ESP ldb test"); %>
3 <h1>Samba4 ldb test</h1>
5 <h3>An attribute constrained search</h3>
8 var dbfile = lpGet("sam database");
9 var attrs = new Array("name", "dnsDomain", "objectSid", "dn");
11 res = ldbSearch(dbfile, "(objectClass=domain)", attrs);
12 multi_table(res, "dn");
15 <h3>An unconstrained search</h3>
18 var dbfile = lpGet("sam database");
20 res = ldbSearch(dbfile, "(objectClass=user)");
21 multi_table(res, "dn");
24 <h3>A search with bad arguments</h3>
27 res = ldbSearch("foo");