1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-26 21:57:41 +03:00

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)
This commit is contained in:
Andrew Bartlett 2006-06-12 20:08:19 +00:00 committed by Gerald (Jerry) Carter
parent 59bd3b66cd
commit 481991e1b9

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