Am thinking about setting up some unix groups to make it easier to define
login times for various users (easier than adding individual entries to the
users file for each).  Does anybody know if something like below will work?
The trick being that an individual user might be a member of one, two or
(accidentally) all three of the groups.  

Is radiusd "smart" enough to see that someone is a member of "weekdays" and
"evenings" or is a member of "evenings" and "weekends" and make the
appropriate additions and subtractions from their Session-Limit... or is it
only going to see the value of the last group that is valid for the user as
processing falls through the file?

DEFAULT         Group == "weekdays", Login-Time := "Wk0600-1800"
                    Fall-Through = 1

DEFAULT         Group == "evenings", Login-Time := "Wk1800-0600"
                Fall-Through = 1

DEFAULT         Group == "weekends", Login-Time := "Sa,Su"
                Fall-Through = 1


Thanks,
>>>>> Mike <<<<<


- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Reply via email to