svn commit: samba r11748 - in
branches/SAMBA_4_0/source/scripting/ejs: .
mimir at samba.org
mimir at samba.org
Wed Nov 16 20:37:16 GMT 2005
Author: mimir
Date: 2005-11-16 20:37:15 +0000 (Wed, 16 Nov 2005)
New Revision: 11748
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=11748
Log:
By default, use name resolution method provided by means
of smb.conf.
rafal
Modified:
branches/SAMBA_4_0/source/scripting/ejs/ejsnet.c
Changeset:
Modified: branches/SAMBA_4_0/source/scripting/ejs/ejsnet.c
===================================================================
--- branches/SAMBA_4_0/source/scripting/ejs/ejsnet.c 2005-11-16 19:55:27 UTC (rev 11747)
+++ branches/SAMBA_4_0/source/scripting/ejs/ejsnet.c 2005-11-16 20:37:15 UTC (rev 11748)
@@ -36,6 +36,7 @@
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);
More information about the samba-cvs
mailing list