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 | 9e0fab2ee6c89155e6ba6b2401a25de37cb89333 (patch) | |
tree | d41865d4dc80954171e23791be1785d813c3a941 /source/nameannounce.c | |
parent | 2d0ec53c508aca53a5049c98339a15dff5b8e239 (diff) | |
download | samba-9e0fab2ee6c89155e6ba6b2401a25de37cb89333.tar.gz samba-9e0fab2ee6c89155e6ba6b2401a25de37cb89333.tar.xz samba-9e0fab2ee6c89155e6ba6b2401a25de37cb89333.zip |
- removed ServerComment and instead set the comment string in nmbd
using the "server string" option. This replaces the -C option to nmbd
Diffstat (limited to 'source/nameannounce.c')
-rw-r--r-- | source/nameannounce.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/source/nameannounce.c b/source/nameannounce.c index 09aade86efa..5591c5ba19a 100644 --- a/source/nameannounce.c +++ b/source/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"; |