[SCM] Samba Shared Repository - branch v3-6-test updated

Stefan Metzmacher metze at samba.org
Fri Jan 7 10:15:00 MST 2011


The branch, v3-6-test has been updated
       via  fb58d94 s3-nmbd: Fix bug #7875
      from  2cc005a s4-waf: get the version number right on private libraries

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-6-test


- Log -----------------------------------------------------------------
commit fb58d94f297529c3b3388b564b3866658b91c957
Author: Björn Baumbach <bb at sernet.de>
Date:   Fri Jan 7 15:53:13 2011 +0100

    s3-nmbd: Fix bug #7875
    
    nmbd --port didn't work
    
    Signed-off-by: Stefan Metzmacher <metze at samba.org>
    
    Autobuild-User: Stefan Metzmacher <metze at samba.org>
    Autobuild-Date: Fri Jan  7 17:44:08 CET 2011 on sn-devel-104
    (cherry picked from commit 617e342a14e4fa8046ea456a89a0760f7deab8d5)

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

Summary of changes:
 source3/nmbd/nmbd.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source3/nmbd/nmbd.c b/source3/nmbd/nmbd.c
index 30bbeaa..1f7d4b5 100644
--- a/source3/nmbd/nmbd.c
+++ b/source3/nmbd/nmbd.c
@@ -768,8 +768,8 @@ static bool open_sockets(bool isdaemon, int port)
 	{"foreground", 'F', POPT_ARG_NONE, NULL, OPT_FORK, "Run daemon in foreground (for daemontools & etc)" },
 	{"no-process-group", 0, POPT_ARG_NONE, NULL, OPT_NO_PROCESS_GROUP, "Don't create a new process group" },
 	{"log-stdout", 'S', POPT_ARG_NONE, NULL, OPT_LOG_STDOUT, "Log to stdout" },
-	{"hosts", 'H', POPT_ARG_STRING, &p_lmhosts, 'H', "Load a netbios hosts file"},
-	{"port", 'p', POPT_ARG_INT, &global_nmb_port, NMB_PORT, "Listen on the specified port" },
+	{"hosts", 'H', POPT_ARG_STRING, &p_lmhosts, 0, "Load a netbios hosts file"},
+	{"port", 'p', POPT_ARG_INT, &global_nmb_port, 0, "Listen on the specified port" },
 	POPT_COMMON_SAMBA
 	{ NULL }
 	};


-- 
Samba Shared Repository


More information about the samba-cvs mailing list