diff options
author | Andrew Tridgell <tridge@samba.org> | 1996-08-20 16:09:41 +0000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 1996-08-20 16:09:41 +0000 |
commit | 1073bd65414d1e436e833c2e32bed129c72e1910 (patch) | |
tree | aa84da19084ffe5c3017caa25728e41aae540ea0 /source3/nameannounce.c | |
parent | dafaf627c2ed4d3fa76e0a9426dde006cd6cf50c (diff) | |
download | samba-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/nameannounce.c')
-rw-r--r-- | source3/nameannounce.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/source3/nameannounce.c b/source3/nameannounce.c index 09aade86ef..5591c5ba19 100644 --- a/source3/nameannounce.c +++ b/source3/nameannounce.c @@ -42,9 +42,6 @@ extern int ClientNMB; /* this is our domain/workgroup/server database */ extern struct subnet_record *subnetlist; -/* machine comment for host announcements */ -extern pstring ServerComment; - extern int updatecount; extern int workgroup_count; @@ -307,7 +304,7 @@ void announce_host(void) pstring comment; char *my_name; - StrnCpy(comment, *ServerComment ? ServerComment : "NoComment", 43); + StrnCpy(comment, lp_serverstring(), 43); my_name = *myname ? myname : "NoName"; |