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

Meike Stone meike.stone at googlemail.com
Mon Feb 4 17:44:57 UTC 2019

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 ! 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.

Does anybody can help me?
Thanks Meike!


Samba version 3.6:
PID     Username      Group         Machine
11243     smith      users         pc023       (
56898     clay       users         ts022       (
46461     miller     users         pc132       (
44414     stone      users         pc342       (
33918     taylor     users         pc020       (
73898     einstein   users         ts020       (
91923     bennett    users         w7pc100     (


Samba version 4.6:
PID     Username     Group        Machine
     Protocol Version  Encryption           Signing
9477    smith       users
(ipv4:    NT1               -
36623   clay        users
(ipv4:1192.168.12.30:56167)    NT1               -
31722   miller      users
(ipv4:    NT1               -
25303   stone       users
(ipv4:    NT1               -
23302   taylor      users
(ipv4:     NT1               -
75323   einstein    users
(ipv4:     NT1               -
79443   bennett     users
(ipv4:     NT1               -

More information about the samba mailing list