[Samba] how to list computers that are joined to the domain?
Gerald (Jerry) Carter
jerry at samba.org
Fri Jun 10 12:30:52 GMT 2005
-----BEGIN PGP SIGNED MESSAGE-----
Tomasz Chmielewski wrote:
| How to list computers that are joined to the domain?
| Is the best way to do:
| getent passwd | grep "$"
| Or perhaps there are some Samba-specific tools
| to do that?
This will get you workstation a domain trust accounts:
pdbedit -L -w | grep '\[[WI]'
Alleviating the pain of Windows(tm) ------- http://www.samba.org
GnuPG Key ----- http://www.plainjoe.org/gpg_public.asc
"I never saved anything for the swim back." Ethan Hawk in Gattaca
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
-----END PGP SIGNATURE-----
More information about the samba