Per nas simultaneous-use limit
Hi all, We want to per user limit login to 4 for particular NAS. I added following in users: DEFAULT Huntgroup-Name == "broadband", Simultaneous-Use := 4 Fall-Through = Yes And in huntgroups: broadband NAS-IP-Address == 192.168.192.201 broadband NAS-IP-Address == 192.168.192.204 Is seems the limit of 4 is for all users in the same NAS instead of particular users. We're using 2.2.0. Would anyone advise? Thanks lot. Rgds, /st
ST Wong (ITSC) wrote:
We want to per user limit login to 4 for particular NAS. I added following in users:
DEFAULT Huntgroup-Name == "broadband", Simultaneous-Use := 4 Fall-Through = Yes
Which sets the Simultaneous-Use limit for all users of that huntgroup. If you want to limit it for particular users, why not add that condition, too?
Is seems the limit of 4 is for all users in the same NAS instead of particular users. We’re using 2.2.0. Would anyone advise? Thanks lot.
Add rules which set Simultaneous-Use for particular users. What else would you do? Don't write rules for each user. Instead, put those users into a group, and key off of that. See "man rlm_passwd" for examples. Alan DeKok.
DEFAULT Huntgroup-Name == "broadband", Simultaneous-Use := 4 Fall-Through = Yes
Which sets the Simultaneous-Use limit for all users of that huntgroup.
That's what we want to do. Then we've to find out the trouble somewhere else that stops user from login. Thanks a lot. /st wong
participants (2)
-
Alan DeKok -
ST Wong (ITSC)