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

Dmitry Katsubo dma_k at mail.ru
Thu Dec 27 23:15:56 UTC 2018


On 2018-12-26 19:04, Reindl Harald via samba wrote:
> surely, and sadly most of the stuff was designed with no awareness of
> that fact - you can't suppress the version in ssh because it#s part of
> the protocol, the sme for mysql and httpd even refuses spathes where you
> simply can remove the server header because no client needs to know what
> type of webserver there is running at all
> 
> in other world: most developers don't care otherwise this would not
> exist or at least not leak exact versions

I see, thanks for the information. At least sshd has

DebianBanner no

option in /etc/ssh/sshd_config which suppresses reporting the operating
system. Although server version is required by protocol, the server
could report major version like 4.x, similar to Apache option

ServerTokens Major

-- 
With best regards,
Dmitry



More information about the samba mailing list