svn commit: samba r16168 - in
branches/SAMBA_4_0/source/scripting/ejs: .
abartlet at samba.org
abartlet at samba.org
Mon Jun 12 20:08:21 GMT 2006
Author: abartlet
Date: 2006-06-12 20:08:19 +0000 (Mon, 12 Jun 2006)
New Revision: 16168
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=16168
Log:
Make the example match the actual function.
This was very confusing until I really looked at it.
Andrew Bartlett
Modified:
branches/SAMBA_4_0/source/scripting/ejs/smbcalls_ldb.c
Changeset:
Modified: branches/SAMBA_4_0/source/scripting/ejs/smbcalls_ldb.c
===================================================================
--- branches/SAMBA_4_0/source/scripting/ejs/smbcalls_ldb.c 2006-06-12 20:02:16 UTC (rev 16167)
+++ branches/SAMBA_4_0/source/scripting/ejs/smbcalls_ldb.c 2006-06-12 20:08:19 UTC (rev 16168)
@@ -48,7 +48,7 @@
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)
{
More information about the samba-cvs
mailing list