r8481: switched ldb ejs called over to an OO interface, so you do:
authorAndrew Tridgell <tridge@samba.org>
Fri, 15 Jul 2005 05:40:34 +0000 (05:40 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 18:23:07 +0000 (13:23 -0500)
commit63535f566e2fbe9244fd3e50b9c8d1281b822fc0
treee14f9101f03c29c7a076576efd36d3ac7a8e381f
parent970ff9ba8d0b47fce6760e6adf9458820c5084b9
r8481: switched ldb ejs called over to an OO interface, so you do:

var ldb = ldb_init();

res = ldb.search(dbfile, "(objectClass=user)");

you can also do:

ldbSearch = ldb.search;
res = ldbSearch(dbfile, "(objectClass=user)");

if you want the old interface (ie. you can use this to import
functions into the global or local namespace).
(This used to be commit 3093057d9735cbb62f57e7159264d5a28b85320f)
source4/scripting/ejs/mprutil.c
source4/scripting/ejs/smbcalls.h
source4/scripting/ejs/smbcalls_ldb.c
source4/scripting/libjs/provision.js
swat/esptest/ldb.esp
testprogs/ejs/ldb.js