I have a doubt... I'm using freeradius from Ubuntu 8.04. if i have to store an expiration date i stored some thing like that: username Attribute op Value someuser Expiration := 24 Nov 2010 13:58 I have a check to a Wifigator server and i see that they stored it as a timestamp (in secondes)... Who is right? who is wrong? regards
On 23/11/2553 21:51, yzy-oui-fi wrote:
Wifigator server wifigator server is right. freeradius is right. you may misunderstand. Freeradius always send time to nas for termiate when time expire. The good time for nas is timestamp format which nas can count down. NAS dosn't know about date form.
So this is interessting because i followed this source taht says that expiration format is a date... http://www.mail-archive.com/freeradius-users@lists.freeradius.org/msg60233.h... i will give a try with timestamp. regards Le mercredi 24 novembre 2010 à 10:06 +0700, EasyHorpak.com a écrit :
Wifigator server wifigator server is right. freeradius is right. you may misunderstand. Freeradius always send time to nas for termiate when time expire. The good time for nas is timestamp format which nas can count down. NAS dosn't know about date form.
On 23/11/2553 21:51, yzy-oui-fi wrote: - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
On 24/11/2553 16:41, yzy-oui-fi wrote:
So this is interessting because i followed this source taht says that expiration format is a date...
http://www.mail-archive.com/freeradius-users@lists.freeradius.org/msg60233.h...
i will give a try with timestamp.
regards
Le mercredi 24 novembre 2010 ร 10:06 +0700, EasyHorpak.com a รฉcrit :
On 23/11/2553 21:51, yzy-oui-fi wrote:
Wifigator server
wifigator server is right. freeradius is right. you may misunderstand. Freeradius always send time to nas for termiate when time expire. The good time for nas is timestamp format which nas can count down. NAS dosn't know about date form. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html yes. expiration format is date but in mysql not at nas
mysql[expiration format is date] --> freeradius[check then convert from date to timestamp and send as session-timeout ]--->NAS[session-timeout is timestamp format]
Thanks this little story was turning me crazy, and as i mentionned it in subject it is when using mysql. so it seems expiration stored on wifigator mysql server are wrong. regards Le mercredi 24 novembre 2010 à 17:47 +0700, EasyHorpak.com a écrit :
On 24/11/2553 16:41, yzy-oui-fi wrote:
So this is interessting because i followed this source taht says that expiration format is a date...
http://www.mail-archive.com/freeradius-users@lists.freeradius.org/msg60233.h...
i will give a try with timestamp.
regards
Le mercredi 24 novembre 2010 ร 10:06 +0700, EasyHorpak.com a รฉcrit :
On 23/11/2553 21:51, yzy-oui-fi wrote:
Wifigator server
wifigator server is right. freeradius is right. you may misunderstand. Freeradius always send time to nas for termiate when time expire. The good time for nas is timestamp format which nas can count down. NAS dosn't know about date form. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html yes. expiration format is date but in mysql not at nas
mysql[expiration format is date] --> freeradius[check then convert from date to timestamp and send as session-timeout ]--->NAS[session-timeout is timestamp format]
- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
participants (2)
-
EasyHorpak.com -
yzy-oui-fi