Revert "Change the default of "nmbd bind explicit broadcast" to "no""
authorJeremy Allison <jra@samba.org>
Wed, 10 Feb 2010 20:42:27 +0000 (12:42 -0800)
committerJeremy Allison <jra@samba.org>
Wed, 10 Feb 2010 20:42:27 +0000 (12:42 -0800)
This reverts commit 84fba3c1bc962804259f201d465acfdf0cd3c6a8.

Now we have a "processed packet queue" in nmbd we can go back
to doing this by default.

Jeremy.

docs-xml/smbdotconf/misc/nmbdbindexplicitbroadcast.xml
source3/param/loadparm.c

index 8d2135b3ff7f759d0f901f2d607930b880433631..3a44a69d5438b8678203d1f4c2352c369fded3f4 100644 (file)
@@ -7,10 +7,11 @@
        <para>
        This option causes <citerefentry><refentrytitle>nmbd</refentrytitle>
        <manvolnum>8</manvolnum></citerefentry> to explicitly bind to the
-       broadcast address of the local subnets. This can be used to make nmbd
+       broadcast address of the local subnets. This is needed to make nmbd
        work correctly in combination with the <smbconfoption name="socket address"/> option.
+       You should not need to unset this option.
        </para>
 </description>
 
-<value type="default">no</value>
+<value type="default">yes</value>
 </samba:parameter>
index 3ada45e2ca7ddc3cbbbde105d206b494652b1357..8308e995660629a2684e624da794f264705e171e 100644 (file)
@@ -4969,10 +4969,10 @@ static void init_globals(bool first_time_only)
        string_set(&Globals.szPidDir, get_dyn_PIDDIR());
        string_set(&Globals.szSocketAddress, "0.0.0.0");
        /*
-        * By default don't support explicit binding to broadcast
-        * addresses (until the nmbd "process twice" bug is fixed).
+        * By default support explicit binding to broadcast
+        * addresses.
         */
-       Globals.bNmbdBindExplicitBroadcast = false;
+       Globals.bNmbdBindExplicitBroadcast = true;
 
        if (asprintf(&s, "Samba %s", samba_version_string()) < 0) {
                smb_panic("init_globals: ENOMEM");