tnt@kalik.net wrote:
Do I need to set Simultaneous-Use := 1 for the groups not allowed SU, and Simultaneous-Use := 2 for the group allowed SU?
OK. This is how Simultaneous-Use works in freeradius: you put that attribute when you want to set the limit for a number of simultaneous connections. The number you enter is the number of simultaneous connections allowed. So:
I saw that the value of Simultaneous-Use was an integer in the docs, but I incorrectly assumed a default value existed. I changed my groups to the settings above and I get a failed auth, Reply-Message = "\r\nYou are already logged in - access denied\r\n\n" Thank you, it looks like that was my last hurdle prior to testing with a live nasclient and connection. DAve
Simultaneous-Use := 1 (only one connection allowed)
Simultaneous-Use := 2 (two simultaneous connections allowed)
Simultaneous-Use := 100 (up to 100 simultaneous connections allowed)
no Simultaneous-Use attribute in the configuration (unlimited number of simultaneous connections allowed)
Put the user in dialup2 group and he won't be able to connect.
Ivan Kalik Kalik Informatika ISP
- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
-- I am watching the debate and I am very disappointed. The rules are simple, "answer the question". I would vote right now, and I can in Indiana, for the man who answered the question directly, in less than a minute, and then sat down before the green light was out.