diff options
author | Rafal Szczesniak <mimir@samba.org> | 2005-11-16 20:37:15 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:46:21 -0500 |
commit | 5518741f3fb350cd08fc09e18deca1eede7e26f5 (patch) | |
tree | ac769dff459301a2331c4c141864b1d08a874125 /source4/scripting/ejs | |
parent | e1bea4eaf57bd81189793786b450720ab8fef4e7 (diff) | |
download | samba-5518741f3fb350cd08fc09e18deca1eede7e26f5.tar.gz samba-5518741f3fb350cd08fc09e18deca1eede7e26f5.tar.bz2 samba-5518741f3fb350cd08fc09e18deca1eede7e26f5.zip |
r11748: By default, use name resolution method provided by means
of smb.conf.
rafal
(This used to be commit 739169e8eda74ad53d728fe6d11a30513c218853)
Diffstat (limited to 'source4/scripting/ejs')
-rw-r--r-- | source4/scripting/ejs/ejsnet.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source4/scripting/ejs/ejsnet.c b/source4/scripting/ejs/ejsnet.c index f26cea6d3a..82e0eb81fe 100644 --- a/source4/scripting/ejs/ejsnet.c +++ b/source4/scripting/ejs/ejsnet.c @@ -36,6 +36,7 @@ static int ejs_net_context(MprVarHandle eid, int argc, struct MprVar **argv) ctx = libnet_context_init(NULL); creds = talloc(ctx, struct cli_credentials); ctx->cred = creds; + ctx->name_res_methods = lp_name_resolve_order(); if (argc == 0) { cli_credentials_set_anonymous(creds); |