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

shadowaccount expiry



Hi,

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

objectclass ( 1.3.6.1.1.1.2.1 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 ( 1.3.6.1.1.1.1.9 NAME 'shadowXXX'
        EQUALITY integerMatch
        SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 SINGLE-VALUE )

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

Oliver