summaryrefslogtreecommitdiff
path: root/source3/nmbd
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>1996-08-20 16:09:41 +0000
committerAndrew Tridgell <tridge@samba.org>1996-08-20 16:09:41 +0000
commit1073bd65414d1e436e833c2e32bed129c72e1910 (patch)
treeaa84da19084ffe5c3017caa25728e41aae540ea0 /source3/nmbd
parentdafaf627c2ed4d3fa76e0a9426dde006cd6cf50c (diff)
downloadsamba-1073bd65414d1e436e833c2e32bed129c72e1910.tar.gz
samba-1073bd65414d1e436e833c2e32bed129c72e1910.tar.bz2
samba-1073bd65414d1e436e833c2e32bed129c72e1910.zip
- 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)
Diffstat (limited to 'source3/nmbd')
-rw-r--r--source3/nmbd/nmbd.c10
1 files changed, 0 insertions, 10 deletions
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(),"*")) {