Dmitry Katsubo
2018-Dec-26 15:40 UTC
[Samba] How to change the server info/version which Samba returns to the client?
On 2018-12-21 12:29, Rowland Penny via samba wrote:> That's because you are mixing up 'Server' and 'server string' > The 'Server' is the Samba version and 'server string' is something to > identify the computer, see 'man smb.conf' for more details.Thanks for this hint. I've tried to locate any other "server"-related option in man smb.conf, but I failed. Could you please tell the exact option which I should use? Many thanks in advance! -- With best regards, Dmitry
Rowland Penny
2018-Dec-26 16:10 UTC
[Samba] How to change the server info/version which Samba returns to the client?
On Wed, 26 Dec 2018 16:40:13 +0100 Dmitry Katsubo via samba <samba at lists.samba.org> wrote:> On 2018-12-21 12:29, Rowland Penny via samba wrote: > > That's because you are mixing up 'Server' and 'server string' > > The 'Server' is the Samba version and 'server string' is something > > to identify the computer, see 'man smb.conf' for more details. > > Thanks for this hint. I've tried to locate any other "server"-related > option in man smb.conf, but I failed. Could you please tell the exact > option which I should use? > > Many thanks in advance! >I obviously wasn't clear enough ;-) The 'Server' from here: Domain=[WORKGROUP] OS=[Windows 6.1] Server=[Samba 4.2.14-Debian] Comes from the servers Samba version, you cannot change this. The 'server string' parameter controls what is shown in browse lists etc. This can be changed, but Samba will need to be restarted/reload after the change and a new connection will need to be made to the server. Rowland
Dmitry Katsubo
2018-Dec-26 16:28 UTC
[Samba] How to change the server info/version which Samba returns to the client?
On 2018-12-26 17:10, Rowland Penny via samba wrote:> Domain=[WORKGROUP] OS=[Windows 6.1] Server=[Samba 4.2.14-Debian] > > Comes from the servers Samba version, you cannot change this. > > The 'server string' parameter controls what is shown in browse lists > etc. This can be changed, but Samba will need to be restarted/reload > after the change and a new connection will need to be made to the > server.If the server's version reported to the client can't be changed, can it be potentially simplify the implementation of attack on Samba server (as attacker knows the operating system and version of the server)? -- With best regards, Dmitry
L.P.H. van Belle
2018-Dec-27 08:16 UTC
[Samba] How to change the server info/version which Samba returns to the client?
> > Domain=[WORKGROUP] OS=[Windows 6.1] Server=[Samba 4.2.14-Debian]Server=[Samba 4.2.14-Debian] You can change the version-Debian yes. But you need to rebuild you samba for it. Run : apt-get source samba cd samba-.... Edit VERSION You see somethine like this. ######################################################## SAMBA_VERSION_VENDOR_SUFFIX=Debian SAMBA_VERSION_VENDOR_PATCH> Onderwerp: Re: [Samba] How to change the server info/version > which Samba returns to the client? > > On 2018-12-26 17:10, Rowland Penny via samba wrote: > > Domain=[WORKGROUP] OS=[Windows 6.1] Server=[Samba 4.2.14-Debian] > > > > Comes from the servers Samba version, you cannot change this. > > > > The 'server string' parameter controls what is shown in browse lists > > etc. This can be changed, but Samba will need to be restarted/reload > > after the change and a new connection will need to be made to the > > server. > > If the server's version reported to the client can't be changed, can > it be potentially simplify the implementation of attack on > Samba server > (as attacker knows the operating system and version of the server)?If you are concerned about that, why did you even start nmbd and are you allowing network browing.> > -- > With best regards, > Dmitry > > -- > To unsubscribe from this list go to the following URL and read the > instructions: https://lists.samba.org/mailman/options/samba >Greetz, Louis
Seemingly Similar Threads
- How to change the server info/version which Samba returns to the client?
- SAMBA_VERSION_VENDOR_SUFFIX in VERSION
- How to change the server info/version which Samba returns to the client?
- How to change the server info/version which Samba returns to the client?
- wbinfo -i returns the same id for all users, authentication doesn't seem to go through winbind at all