[Samba] Where is password expiry information stored? - Samba

This is a discussion on [Samba] Where is password expiry information stored? - Samba ; Yesterday, I've moved all my samba users from a redhat 9 (i386) system to a Centos 5 (x86_64) system. This runs samba-3.0.25-7. The system uses NIS authentication, no shadow files. Now all my Windows users have accounts that expire today! ...

+ Reply to Thread
Results 1 to 2 of 2

Thread: [Samba] Where is password expiry information stored?

  1. [Samba] Where is password expiry information stored?

    Yesterday, I've moved all my samba users from a redhat 9 (i386) system
    to a Centos 5 (x86_64) system. This runs samba-3.0.25-7.

    The system uses NIS authentication, no shadow files.

    Now all my Windows users have accounts that expire today!

    Strangely, if I do a:

    # pdbedit -L -v mk

    I get:

    Password last set: Tue, 18 May 2004 15:04:30 CEST
    Password can change: Tue, 18 May 2004 15:04:30 CEST
    Password must change: 9223372036854775807 seconds since the Epoch

    I havn't calculated what 9223372036854775807 seconds since the Epoch
    is in human readable format but I guess that it is in the
    future :-)

    Where does this number come from? There's no shadow file
    on the system (The NIS server serves old SGI machines as well,
    they don't use shadow files).

    How do I fix this problem so that I don't have hundreds of
    users calling me Monday morning? How do I make sure that users
    created in the future don't have expired accounts?

    Mogens

    --
    Mogens Kjaer, Carlsberg A/S, Computer Department
    Gamle Carlsberg Vej 10, DK-2500 Valby, Denmark
    Phone: +45 33 27 53 25, Fax: +45 33 27 47 08
    Email: mk@crc.dk Homepage: http://www.crc.dk
    --
    To unsubscribe from this list go to the following URL and read the
    instructions: https://lists.samba.org/mailman/listinfo/samba

  2. Re: [Samba] Where is password expiry information stored?

    Mogens Kjaer wrote:
    ....
    > How do I fix this problem so that I don't have hundreds of
    > users calling me Monday morning?


    Problem solved:

    Get samba-3.0.25a
    cd packaging/RHEL
    sh ./makerpms.sh

    rpm -Uvh /usr/src/redhat/RPMS/x86_86/...

    Now I get:

    # pdbedit -L -v mk
    ....
    Password must change: never
    ....

    Mogens


    --
    Mogens Kjaer, Carlsberg A/S, Computer Department
    Gamle Carlsberg Vej 10, DK-2500 Valby, Denmark
    Phone: +45 33 27 53 25, Fax: +45 33 27 47 08
    Email: mk@crc.dk Homepage: http://www.crc.dk
    --
    To unsubscribe from this list go to the following URL and read the
    instructions: https://lists.samba.org/mailman/listinfo/samba

+ Reply to Thread