lib/param: fix nbt client socket address default setting to be consistent with s3...
authorGarming Sam <garming@catalyst.net.nz>
Wed, 8 Jan 2014 00:27:23 +0000 (13:27 +1300)
committerAndrew Bartlett <abartlet@samba.org>
Tue, 28 Jan 2014 04:26:44 +0000 (17:26 +1300)
Signed-off-by: Garming Sam <garming@catalyst.net.nz>
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Alexander Bokovoy <ab@samba.org>
lib/param/loadparm.c

index 4f4d11414e9a468ff4bd7b43dadc4ab701d74cad..40003d70ad8b67732c189920896e015a14940d53 100644 (file)
@@ -2146,7 +2146,7 @@ struct loadparm_context *loadparm_init(TALLOC_CTX *mem_ctx)
        lpcfg_do_global_parameter(lp_ctx, "cache directory", dyn_CACHEDIR);
        lpcfg_do_global_parameter(lp_ctx, "ncalrpc dir", dyn_NCALRPCDIR);
 
-       lpcfg_do_global_parameter(lp_ctx, "nbt client socket address", "");
+       lpcfg_do_global_parameter(lp_ctx, "nbt client socket address", "0.0.0.0");
        lpcfg_do_global_parameter_var(lp_ctx, "server string",
                                   "Samba %s", SAMBA_VERSION_STRING);