1
0
mirror of https://github.com/samba-team/samba.git synced 2025-11-08 16:23:49 +03:00

r11748: By default, use name resolution method provided by means

of smb.conf.

rafal
This commit is contained in:
Rafal Szczesniak
2005-11-16 20:37:15 +00:00
committed by Gerald (Jerry) Carter
parent 85456e6c0b
commit 739169e8ed

View File

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