diff options
author | Andrew Bartlett <abartlet@samba.org> | 2006-06-12 20:08:19 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 14:09:04 -0500 |
commit | 481991e1b99f83f3f855ac7028f9209c4e83b7b2 (patch) | |
tree | 4db55398c5cdb0cf27b5b528d8e68b9b087157fc /source4 | |
parent | 59bd3b66cd2b381e760d494d91c3c0459bdde629 (diff) | |
download | samba-481991e1b99f83f3f855ac7028f9209c4e83b7b2.tar.gz samba-481991e1b99f83f3f855ac7028f9209c4e83b7b2.tar.bz2 samba-481991e1b99f83f3f855ac7028f9209c4e83b7b2.zip |
r16168: Make the example match the actual function.
This was very confusing until I really looked at it.
Andrew Bartlett
(This used to be commit 0053d06d9f85f2304191ab8f68eee7f48b2f2aa8)
Diffstat (limited to 'source4')
-rw-r--r-- | source4/scripting/ejs/smbcalls_ldb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/scripting/ejs/smbcalls_ldb.c b/source4/scripting/ejs/smbcalls_ldb.c index ea6f70a41e..d5735dce70 100644 --- 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) { |