[Date Prev][Date Next] [Chronological] [Thread] [Top]

shadowaccount expiry


I am authenticating my users through ldap, now I want to set expiry dates.
Possble attributes:

objectclass ( NAME 'shadowAccount' SUP top AUXILIARY
        DESC 'Additional attributes for shadow passwords'
        MUST uid
        MAY ( userPassword $ shadowLastChange $ shadowMin $
              shadowMax $ shadowWarning $ shadowInactive $
              shadowExpire $ shadowFlag $ description ) )
all are:

attributetype ( NAME 'shadowXXX'
        EQUALITY integerMatch

Sorry but I am lost, what do I have to specify a date, a date in seconds 
after 1970. Ive found no ressource in the web!  ;o) 

I try to enable: a. a fixed date of expiry b. a 20 Day lifetime

Thanks for any hints