diff options
-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) { |