summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2011-05-12 12:25:51 +0200
committerAndrew Tridgell <tridge@samba.org>2011-06-06 12:26:09 +1000
commit1c87f166df7adf64f5b3b0b445bfc24911d9d4d8 (patch)
tree00b109241aa65edbb58226af9a09fc1f57a1e1d4
parent2fc11518b7573bce3cdf2f2acf7dec024f22e9c6 (diff)
downloadsamba-1c87f166df7adf64f5b3b0b445bfc24911d9d4d8.tar.gz
samba-1c87f166df7adf64f5b3b0b445bfc24911d9d4d8.tar.bz2
samba-1c87f166df7adf64f5b3b0b445bfc24911d9d4d8.zip
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.
-rw-r--r--source4/param/loadparm.c2
1 files changed, 1 insertions, 1 deletions
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);