[SCM] Samba Shared Repository - branch master updated

Jeremy Allison jra at samba.org
Wed Feb 10 13:43:47 MST 2010


The branch, master has been updated
       via  f2d7d97... Revert "Change the default of "nmbd bind explicit broadcast" to "no""
      from  c2f3ed4... More of the fix for bug #7118 - nmbd problems with socket address.

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master


- Log -----------------------------------------------------------------
commit f2d7d9774e3dafc643567605dd1eef908b6ded1a
Author: Jeremy Allison <jra at samba.org>
Date:   Wed Feb 10 12:42:27 2010 -0800

    Revert "Change the default of "nmbd bind explicit broadcast" to "no""
    
    This reverts commit 84fba3c1bc962804259f201d465acfdf0cd3c6a8.
    
    Now we have a "processed packet queue" in nmbd we can go back
    to doing this by default.
    
    Jeremy.

-----------------------------------------------------------------------

Summary of changes:
 .../smbdotconf/misc/nmbdbindexplicitbroadcast.xml  |    5 +++--
 source3/param/loadparm.c                           |    6 +++---
 2 files changed, 6 insertions(+), 5 deletions(-)


Changeset truncated at 500 lines:

diff --git a/docs-xml/smbdotconf/misc/nmbdbindexplicitbroadcast.xml b/docs-xml/smbdotconf/misc/nmbdbindexplicitbroadcast.xml
index 8d2135b..3a44a69 100644
--- a/docs-xml/smbdotconf/misc/nmbdbindexplicitbroadcast.xml
+++ b/docs-xml/smbdotconf/misc/nmbdbindexplicitbroadcast.xml
@@ -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>
diff --git a/source3/param/loadparm.c b/source3/param/loadparm.c
index 3ada45e..8308e99 100644
--- a/source3/param/loadparm.c
+++ b/source3/param/loadparm.c
@@ -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");


-- 
Samba Shared Repository


More information about the samba-cvs mailing list