how to check multiple value of same attribute
Hi Everyone, I want to check an attribute against multiple value. But I couldn't do that. I'm using mysql with freeradius. I want my users belonging to Surfing group to have access from 9pm to 9am but on saturday they could access till 12pm. The radgroupcheck able has following entries: ------------------------------------------------------------------------------------------ | id | GroupName | Attribute | op | Value | ------------------------------------------------------------------------------------------ | 1 | Surfing | Login-Time | := | Any2100-0900 | | 2 | Surfing | Login-Time | += | Sa0900-1200 | ------------------------------------------------------------------------------------------- The radius is checking only against the first check item, it's not checking the second one. I tried by using fall-through attribute in radgroupreply table also, but no use. The radgroupreply able has following entries: ------------------------------------------------------------------------------------------ | id | GroupName | Attribute | op | Value | ------------------------------------------------------------------------------------------ | 1 | Surfing | Fall-Through | = | Yes | ------------------------------------------------------------------------------------------- What could be the problem? Can anyone help me ? thanks opn
"open source" <opensource.gnu@gmail.com> wrote:
The radius is checking only against the first check item, it's not checking the second one.
You can put two entries into Login-Time, by separaring them with commas. Alan DeKok. -- http://deployingradius.com - The web site of the book http://deployingradius.com/blog/ - The blog
He, can i do this with multiple MAC addresses as well?? coz' that might be a solution to my multi user, with same username problem :D Cheers, Collen Alan DeKok wrote:
"open source" <opensource.gnu@gmail.com> wrote:
The radius is checking only against the first check item, it's not checking the second one.
You can put two entries into Login-Time, by separaring them with commas.
Alan DeKok. -- http://deployingradius.com - The web site of the book http://deployingradius.com/blog/ - The blog - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
participants (3)
-
Alan DeKok -
Collen Blijenberg -
open source