Re: Trying to work out 24hour access cards

2007-08-13 Thread Evert Meulie
Hi! Thanks for the swift reply. So if I run the script at every login, all it should do is have it check if there are no previous logins for that particular username, and if that's the case it should add a record containing: (username) Expiration = 86400 to... RadReply? Or is it a different

Trying to work out 24hour access cards

2007-08-10 Thread Evert Meulie
Hi all! I have a system here that's based on freeradius-1.0.2-r5 (Gentoo distro) and we're having some problem with 24hour access cards. With these I mean logins that will give a user access for a period of max. 24 hours from first login. Should be able to be over a period of 2 days. For

Re: Trying to work out 24hour access cards

2007-08-10 Thread tnt
Not really. They wiil be able to open an account at noon and use 12 hours; then few minutes before noon of the next day connect again and use another 12 hours mostly past your 24 hour deadline. You want to add the Expiration attribute to the user profile at the time of the first login. You can