[Samba] user account status

Ryan Novosielski novosirj at umdnj.edu
Wed Apr 2 19:07:10 GMT 2008


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

Please keep replies on-list.

For smbpasswd, they are not listed anyplace else. I believe they are
manufactured from the smb.conf entries for profile path and home
directory. I believe for other backends, they are contained in the file
and only generated if blank.

=R

Marc Fromm wrote:
> Thanks for the tip.
> 
> Can you tell me where the home directory and profile path actually are
> located as listed from the pdbedit -Lv?
> 
> Home Directory:       \\finaid46\adrian
> Profile Path:         \\finaid46\adrian\profile
> 
> Marc Fromm
> Information Technology Specialist II
> Financial Aid Department
> Western Washington University
> Phone: 360-650-3351
> Fax:   360-788-0251
> 
> -----Original Message-----
> From: Ryan Novosielski [mailto:novosirj at umdnj.edu] 
> Sent: Wednesday, April 02, 2008 9:55 AM
> To: Marc Fromm
> Cc: samba at lists.samba.org
> Subject: Re: [Samba] user account status
> 
> 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

iD8DBQFH89lemb+gadEcsb4RAhzAAJ0dqZTAdXXIwaAG2E3pkX8A4K6+MgCfTf3f
62Kh2PcVOA2wocM98ZFMHlQ=
=nTUf
-----END PGP SIGNATURE-----


More information about the samba mailing list