[Samba] How to change the server info/version which Samba returns to the client?
L.P.H. van Belle
belle at bazuin.nl
Thu Dec 27 08:16:30 UTC 2018
> > 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
More information about the samba
mailing list