[Samba] IPs in smbstatus

L.P.H. van Belle belle at bazuin.nl
Wed Jun 19 07:01:10 UTC 2019


What for me looks a bit off. 
This is my output ( part of ) smbstatus -a on the AD-DC. 

PID     Username     Group        Machine                IP                           Protocol Version  Encryption   Signing
25843   ADDOM\member-vpn1$ ADDOM\domain computers 192.168.0.2 (ipv4:192.168.0.2:36860) SMB3_11   -   AES-128-CMAC
34317   root         ADDOM\domain users 192.168.0.5 (ipv4:192.168.0.5:55934) SMB2_10    -   HMAC-SHA256

Service      pid     Machine       Connected at                     Encryption   Signing
IPC$         25843   192.168.0.2 Wed Jun 19 02:30:09 AM 2019 CEST -            AES-128-CMAC
sysvol       34317   192.168.0.5 Wed Jun 19 08:12:34 AM 2019 CEST -            HMAC-SHA256 

Now look at the pid numbers, i showed 1 computer and 1 user connection. 

These your yours, what do you notice. 
netlogon     439     10.10.10..187 Wed Jun 19 04:15:07 2019 UTC     -       HMAC-SHA256
Administrator 440     10.10.10..25 Wed Jun 19 04:15:07 2019 UTC     -       HMAC-SHA256

i hope this is a typo : 10.10.10..25  << .. ? 

There is more going on in you setup. 
Ow and in above my "computer" showed up as "username"  ADDOM\member-vpn1$

Can you post you OS, samba version, compiled or supplied by OS. 
And if its a debian or ubuntu server, can you run : 
https://raw.githubusercontent.com/thctlo/samba4/master/samba-collect-debug-info.sh 
And post the output.

That saves us from asking things again, the script shows almost all we need. 

Greetz, 

Louis



> -----Oorspronkelijk bericht-----
> Van: samba [mailto:samba-bounces at lists.samba.org] Namens Rob 
> Thoman via samba
> Verzonden: woensdag 19 juni 2019 6:27
> Aan: samba
> Onderwerp: [Samba] IPs in smbstatus
> 
> Hi,
> 
> Can I request some suggestions regarding the following?
> 
> Issue1
> 
> In our AD server, we are not seeing the hostname of the machine in
> smbstatus, it only shows IP. How can we see the hostname? The 
> server can
> ping/resolve the hosts in question.
> 
> PID     Username     COM        Machine
> Protocol Version  Encryption           Signing
> --------------------------------------------------------------
> --------------------------------------------------------------
> ------------
> 439     dadmin      users        10.10.10.187 
> (ipv4:10.10.10.187:58934)
> SMB2_10           -                    HMAC-SHA256
> 440     root         users        10.10.10.25 (ipv4:10.10.10.25:61136)
>  SMB2_10           -                    HMAC-SHA256
> 
> Service      pid     Machine       Connected at
> Encryption   Signing
> --------------------------------------------------------------
> -------------------------------
> netlogon     439     10.10.10..187 Wed Jun 19 04:15:07 2019 UTC     -
>      HMAC-SHA256
> Administrator 440     10.10.10..25 Wed Jun 19 04:15:07 2019 UTC     -
>      HMAC-SHA256
> 
> smb.conf
> 
> [global]
>         workgroup = ADDOM
>         realm = ADDOM.COM
>         netbios name = WINAD01
>         server role = active directory domain controller
>         idmap_ldb:use rfc2307 = yes
>         server services = -dns
> 
> Issue2
> The net groupmap list doesn't show any AD groups? Is that to 
> be expected?
> 
> Thank you
> 
> RT
> -- 
> To unsubscribe from this list go to the following URL and read the
> instructions:  https://lists.samba.org/mailman/options/samba
> 
> 




More information about the samba mailing list