[Samba] How to change the server info/version which Samba returns to the client?
Dmitry Katsubo
dma_k at mail.ru
Fri Dec 21 10:31:51 UTC 2018
Dear Samba team,
I would like to change the server info string which Samba returns to the
client.
I tried to change the "server string" setting in /etc/samba/smb.conf:
[global]
server string = Master
# testparm | grep "server string"
server string = Master
# /etc/init.d/samba restart
but the server still returns the string "Samba 4.2.14-Debian":
$ smbclient //localhost/home -U guest%guest -c ls
Domain=[WORKGROUP] OS=[Windows 6.1] Server=[Samba 4.2.14-Debian]
. D 0 Mon Dec 17 00:01:54
2018
.. D 0 Mon Jan 29 20:20:52
2018
It looks like "server string" setting has no effect or I am changing the
wrong
setting.
Additional info:
# dpkg -l | grep samba
ii samba 2:4.2.14+dfsg-0+deb8u11 i386 SMB/CIFS file, print, and
login server for Unix
--
With best regards,
Dmitry
More information about the samba
mailing list