[Samba] Check whether a unix user is a samba user

Gémes Géza geza at kzsdabas.sulinet.hu
Sun Nov 9 15:31:57 GMT 2003


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

romildo at uber.com.br írta:
| Hello.
|
| What is the command one should use
| to check whether a unix user is a
| samba user (that is, its username is
| in one of the samba password backends).
|
| Romildo
If you are using samba-3, you could use:

pdbedit --list --smbpasswd-style | grep "username"

Good Luck!

Geza Gemes
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQE/rl3t/PxuIn+i1pIRAjdmAKClai0xKwncYgo0gMk6IPWrVfXSnwCfcr2t
RD4YL+jSRiStYjNxS1k+Bl0=
=Wm7G
-----END PGP SIGNATURE-----




More information about the samba mailing list