Dependendo de como o seu host Linux está configurado, wbinfo -u
pode funcionar para você.
Da página do manual do wbinfo :
wbinfo - Query information from winbind daemon
...
-u|--domain-users
This option will list all users available in the Windows NT domain
for which the winbindd(8) daemon is operating in. Users in all
trusted domains will also be listed. Note that this operation does
not assign user ids to any users that have not already been seen by
winbindd(8) .
Exemplo:
antonio@debian:~$ wbinfo -u
administrator
antonio
guest
support_388945a0
krbtgt
antonio@debian:~$