[Samba] user account status

Ryan Novosielski novosirj at umdnj.edu
Wed Apr 2 16:54:36 GMT 2008


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

pdbedit -Lv username -- there are some other formats that might be of
interest.

Most specifically though, looking at the smbpasswd file, you SHOULD see
a "D" in the [] flags field.

Marc Fromm wrote:
> I used "smbpasswd -d username" to disable an account.
> How can I see the status of the account as being disabled?
> Is there something similar to the "passwd -S username" command which
> tells me the account status?
> 
> When I view the smbpasswd file the user I disabled appears unchanged,
> not like the /etc/shadow file that replaces the password with two "!!"
> when an account is disabled.
> 
> Thanks
> 
> Marc 


- --
 ---- _  _ _  _ ___  _  _  _
 |Y#| |  | |\/| |  \ |\ |  | |Ryan Novosielski - Systems Programmer II
 |$&| |__| |  | |__/ | \| _| |novosirj at umdnj.edu - 973/972.0922 (2-0922)
 \__/ Univ. of Med. and Dent.|IST/AST - NJMS Medical Science Bldg - C630
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFH87pMmb+gadEcsb4RAmA3AKCA5qZYX1EgGbcpQKpB9BL9yzkznQCfWykf
M/8LbrrrQVXyyAI/zcUE28A=
=7sr6
-----END PGP SIGNATURE-----


More information about the samba mailing list