freeradius and expired user configuration
in freeradius ldap-module it exist an Expiration attribute which I can map to an LDAP attribute, but in which format? The Documentation is not clear. I've the following LDAP attributes, which one works? sambaKickoffTime: 1580252400 krb5ValidEnd: 20200129000000Z shadowExpire: 18290 we use an OpenLDAP server thanks in advance Stefan K
On Jan 7, 2019, at 8:49 AM, Stefan K <shadow_7@gmx.net> wrote:
in freeradius ldap-module it exist an Expiration attribute which I can map to an LDAP attribute, but in which format? The Documentation is not clear. I've the following LDAP attributes, which one works?
A Unix timestamp (32-bit number since 1970), or a date string "2019 Jan 4 01:03:04" *All* of the dates in the server have the same format. The Expiration attribute just takes a date. Alan DeKok.
Ahh ok, I see. so shadowExpire don't work, because that counts only the days since 1970, so I must use sambaKickoffTime thank you very much! On Monday, January 7, 2019 9:15:07 AM CET Alan DeKok wrote:
On Jan 7, 2019, at 8:49 AM, Stefan K <shadow_7@gmx.net> wrote:
in freeradius ldap-module it exist an Expiration attribute which I can map to an LDAP attribute, but in which format? The Documentation is not clear. I've the following LDAP attributes, which one works?
A Unix timestamp (32-bit number since 1970), or a date string "2019 Jan 4 01:03:04"
*All* of the dates in the server have the same format. The Expiration attribute just takes a date.
Alan DeKok.
- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
participants (2)
-
Alan DeKok -
Stefan K