From 1073bd65414d1e436e833c2e32bed129c72e1910 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Tue, 20 Aug 1996 16:09:41 +0000 Subject: - removed ServerComment and instead set the comment string in nmbd using the "server string" option. This replaces the -C option to nmbd (This used to be commit 9e0fab2ee6c89155e6ba6b2401a25de37cb89333) --- source3/nmbd/nmbd.c | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'source3/nmbd/nmbd.c') diff --git a/source3/nmbd/nmbd.c b/source3/nmbd/nmbd.c index 2621be87ee..097e4f794a 100644 --- a/source3/nmbd/nmbd.c +++ b/source3/nmbd/nmbd.c @@ -44,9 +44,6 @@ extern pstring myname; /* are we running as a daemon ? */ static BOOL is_daemon = False; -/* machine comment for host announcements */ -pstring ServerComment=""; - /* what server type are we currently */ time_t StartupTime =0; @@ -508,13 +505,6 @@ static void usage(char *pname) DEBUG(3,("Loaded hosts file\n")); } - - - if (!*ServerComment) - strcpy(ServerComment,"Samba %v"); - string_sub(ServerComment,"%v",VERSION); - string_sub(ServerComment,"%h",myhostname); - add_my_names(); if (strequal(lp_workgroup(),"*")) { -- cgit