This is a discussion on counter by group within the FreeRADIUS Users forums, part of the Networking and Network Related category; Just wondering if there's a way to set up a counter based on a user's (unix) group rather ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
Just wondering if there's a way to set up a counter based on a user's (unix)
group rather than their username? Essentially I have a user currently under the control of a counter based on which I limit him to 100 hours of connect time during the month. There are times when the user might be connected simultaneously from two locations, previously this has not been a problem... however due to provider changes, our new provider enforces a single ("soft") concurrent login, and based on automated policies can end up locking the user out for 8 hours if they connect concurrently too many times. Unfortunately we can't exempt the user from that concurrency nor lockout policy. The solution to the first problem is easy, 2 separate logins. However it gets complicated in that the total time limit must be only 100 hours per month (long story... a solution for a good customer in a bad divorce with his kids stuck in the middle, go figure :-). I can't do two 50 hour accounts, because we might run out of time on one or the other before the total reaches 100. Sooo, long story short... if I could set up a group based counter, assign the two users to that group, and configure that group for a maximum of 100 hours per month. Each user could dial in as much as required up to the cumulative total hours configured. Can this be done? Cheers, >>>>> Mike <<<<< - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html |