1
0
mirror of https://github.com/samba-team/samba.git synced 2025-10-21 03:33:16 +03:00

r16168: Make the example match the actual function.

This was very confusing until I really looked at it.

Andrew Bartlett
This commit is contained in:
Andrew Bartlett
2006-06-12 20:08:19 +00:00
committed by Gerald (Jerry) Carter
parent ac9d3cb5b0
commit 0053d06d9f

View File

@@ -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)
{