Web lists-archives.com

[Samba] How to change the server info/version which Samba returns to the client?

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:

   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

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,

To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba