git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
59bd3b6
)
r16168: Make the example match the actual function.
author
Andrew Bartlett
<abartlet@samba.org>
Mon, 12 Jun 2006 20:08:19 +0000
(20:08 +0000)
committer
Gerald (Jerry) Carter
<jerry@samba.org>
Wed, 10 Oct 2007 19:09:04 +0000
(14:09 -0500)
This was very confusing until I really looked at it.
Andrew Bartlett
(This used to be commit
0053d06d9f85f2304191ab8f68eee7f48b2f2aa8
)
source4/scripting/ejs/smbcalls_ldb.c
patch
|
blob
|
history
diff --git
a/source4/scripting/ejs/smbcalls_ldb.c
b/source4/scripting/ejs/smbcalls_ldb.c
index ea6f70a41ec95c7fdca3247ecf89a07e5c735825..d5735dce70bbcaf07a9f100c0d91756eafebf18f 100644
(file)
--- a/
source4/scripting/ejs/smbcalls_ldb.c
+++ b/
source4/scripting/ejs/smbcalls_ldb.c
@@
-48,7
+48,7
@@
static struct ldb_context *ejs_get_ldb_context(int eid)
var attrs = new Array("attr1", "attr2", "attr3");
ldb.search("expression", attrs);
var basedn = "cn=this,dc=is,dc=a,dc=test";
- ldb.search("expression",
attrs, ldb.SCOPE_SUBTREE, basedn
);
+ ldb.search("expression",
basedn, ldb.SCOPE_SUBTREE, attrs
);
*/
static int ejs_ldbSearch(MprVarHandle eid, int argc, struct MprVar **argv)
{