-----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@umdnj.edu]
> Sent: Wednesday, April 02, 2008 9:55 AM
> To: Marc Fromm
> Cc: samba@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@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-----