[Samba] hostname is missing in the output from "smbstatus -b"

Rowland Penny rpenny at samba.org
Mon Feb 4 18:34:05 UTC 2019


On Mon, 4 Feb 2019 18:44:57 +0100
Meike Stone via samba <samba at lists.samba.org> wrote:

> Hello dear group,
> 
> we have migrated our Samba server from version 3.6 to Samba 4.6.
> 
> Everyting is working fine, but I have seen one difference in the
> output from "smbstatus -b".
> 
> The hostname in the output is no longer displayed (see examples below)
> 1) The hostname must come from Session setup or similar, because we
> don't have any
>  name resolution for clients.
> 2) The hostname from the clients is usefull for us, because a lot of
> clients are behind a NAT-Gateway and comes with one IP ( in example
> the 192.168.12.30) ! In the old version I could see from witch host
> each user came.
> 
> In the new version, I only see the IP address two times.
> 

This may be an artefact of turning off NTLMv1, try adding 'ntlm auth =
yes' to your smb.conf and restarting Samba. If this cures your problem,
then you have to decide if you can run with an insecure set up.

I would also urge you to consider upgrading again, but this time to AD.

Rowland



More information about the samba mailing list