[Samba] Identify AD Domain User processes from top

Mike
Tue, 04 Aug 2015 22:48:49 -0000

Is there a way to take the effective user output from top and figure out
which AD Domain User is indicated by the smbd process?

2834   root      20   0  584928  38292   5784 R  24.6  0.2  26:06.20 samba
6448   3000042   20   0  643128  44424  12368 S  20.3  0.3  15:23.92 smbd
28432 3000047   20   0  635816  38856   6864 S   1.3  0.2   0:00.04 smbd
28433 3000024   20   0  635816  38868   6876 S   1.0  0.2   0:00.03 smbd

The output above is from SerNet Samba ver. 4.1.19 deployed as the sole AD
DC on the LAN.

samba-tool user list only states the Domain User name with no UID.

Thx,
Mike