From 1c87f166df7adf64f5b3b0b445bfc24911d9d4d8 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Thu, 12 May 2011 12:25:51 +0200 Subject: s4-ipv6: changed the default "socket address" this changes the default socket address to the empty string. This allows uses to specify 0.0.0.0 meaning to listen only on the IPv4 wildcard address. --- source4/param/loadparm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source4/param') diff --git a/source4/param/loadparm.c b/source4/param/loadparm.c index 8cfa43df5e..15451c4bcf 100644 --- a/source4/param/loadparm.c +++ b/source4/param/loadparm.c @@ -2466,7 +2466,7 @@ struct loadparm_context *loadparm_init(TALLOC_CTX *mem_ctx) lpcfg_do_global_parameter(lp_ctx, "modules dir", dyn_MODULESDIR); lpcfg_do_global_parameter(lp_ctx, "ncalrpc dir", dyn_NCALRPCDIR); - lpcfg_do_global_parameter(lp_ctx, "socket address", "0.0.0.0"); + lpcfg_do_global_parameter(lp_ctx, "socket address", ""); lpcfg_do_global_parameter_var(lp_ctx, "server string", "Samba %s", SAMBA_VERSION_STRING); -- cgit