[Samba] user account status - Samba

This is a discussion on [Samba] user account status - Samba ; 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 ...

+ Reply to Thread
Results 1 to 3 of 3

Thread: [Samba] user account status

  1. [Samba] user account status

    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
    --
    To unsubscribe from this list go to the following URL and read the
    instructions: https://lists.samba.org/mailman/listinfo/samba

  2. Re: [Samba] user account status

    -----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@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+gadEcsb4RAmA3AKCA5qZYX1EgGbcpQKpB9B L9yzkznQCfWykf
    M/8LbrrrQVXyyAI/zcUE28A=
    =7sr6
    -----END PGP SIGNATURE-----

    --
    To unsubscribe from this list go to the following URL and read the
    instructions: https://lists.samba.org/mailman/listinfo/samba

  3. Re: [Samba] user account status

    -----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+gadEcsb4RAhzAAJ0dqZTAdXXIwaAG2E3pkX 8A4K6+MgCfTf3f
    62Kh2PcVOA2wocM98ZFMHlQ=
    =nTUf
    -----END PGP SIGNATURE-----

    --
    To unsubscribe from this list go to the following URL and read the
    instructions: https://lists.samba.org/mailman/listinfo/samba

+ Reply to Thread