Hello I am trying to run Simultaneous-Use parameter on freeradius 2.0.5 which i have 2 virtual servers on. There can be same usernames on both virtual servers, so im not sure about how it works but i prefer to use sql instead of radutmp file for simultaneous check. Anyway, I added the following lines to users file as it is said /usr/share/doc/freeradius/Simultaneous-Use file. DEFAULT Simultaneous-Use := 0 Fall-Through = 1 I made the value 0 for testing purposes.. But no success.It still authenticates the user without any sim. check parameter. And I also wonder where did the Simul.Use queries in sql.conf in 1.1.7 version dissapeared? My virtual server config as follows..: server dormnet { authorize { preprocess files sql_dormnet } authenticate { Auth-Type PAP { pap } Auth-Type CHAP { chap } Auth-Type MS-CHAP { mschap } unix eap } accounting { unix radutmp sql_dormnet } session { radutmp sql_dormnet } post-auth { exec Post-Auth-Type REJECT { attr_filter.access_reject } } }
Oguzhan Kayhan wrote:
I am trying to run Simultaneous-Use parameter on freeradius 2.0.5 which i have 2 virtual servers on.
There can be same usernames on both virtual servers, so im not sure about how it works but i prefer to use sql instead of radutmp file for simultaneous check.
The same username will be treated as the same user... unless you update the SQL schema && queries to make them different. e.g. keying off of virtual server, too.
Anyway, I added the following lines to users file as it is said /usr/share/doc/freeradius/Simultaneous-Use file.
DEFAULT Simultaneous-Use := 0
This won't work. It's pointless.
Fall-Through = 1 I made the value 0 for testing purposes..
Why? Why not "1", as documented? Setting it to "0" is a waste of time.
And I also wonder where did the Simul.Use queries in sql.conf in 1.1.7 version dissapeared?
No. Go READ sql.conf. The queries got moved to another file. See the bottom few lines. This is documented... Alan DeKok.
Oguzhan Kayhan wrote:
I am trying to run Simultaneous-Use parameter on freeradius 2.0.5 which i have 2 virtual servers on.
There can be same usernames on both virtual servers, so im not sure about how it works but i prefer to use sql instead of radutmp file for simultaneous check.
The same username will be treated as the same user... unless you update the SQL schema && queries to make them different. e.g. keying off of virtual server, too.
Different virtual servers using different sql databases, so it wont be a problem to use same username i think (or am i wrong?)
Anyway, I added the following lines to users file as it is said /usr/share/doc/freeradius/Simultaneous-Use file.
DEFAULT Simultaneous-Use := 0
This won't work. It's pointless.
In 1.1.7 version to test the sim-use i was using this setting so without loggin in i was able to test simultaneous-use with radtest command.(ıt gives ou already logged in message as expected even in a single connection) If i make it 1, i need to login permanently from a client, then i need to test.
Fall-Through = 1 I made the value 0 for testing purposes..
Why? Why not "1", as documented? Setting it to "0" is a waste of time.
And I also wonder where did the Simul.Use queries in sql.conf in 1.1.7 version dissapeared?
No. Go READ sql.conf. The queries got moved to another file. See the bottom few lines. This is documented...
Ok i will check it..
Alan DeKok. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Oguzhan Kayhan wrote:
Different virtual servers using different sql databases, so it wont be a problem to use same username i think (or am i wrong?)
If you do that, yes, it should work.
In 1.1.7 version to test the sim-use i was using this setting so without loggin in i was able to test simultaneous-use with radtest command.(ıt gives ou already logged in message as expected even in a single connection)
Hmm... that code wasn't changed in 2.0, so I'm not sure why the behavior changed. Alan DeKok.
Hi everybody! I am using freeradius 2.0.5, and i have a problem whith the proxy option default_fallback, my server do proxy to 3 providers and i have a default realm configured to fallback, but when home servers die the proxy set them died, but don`t do the fallback. Anyone have a sugestion? Thanks!
Marcelo Henique Cabral Ariza wrote:
I am using freeradius 2.0.5, and i have a problem whith the proxy option default_fallback, my server do proxy to 3 providers and i have a default realm configured to fallback, but when home servers die the proxy set them died, but don`t do the fallback.
Anyone have a sugestion?
It *should* work... as in, it worked for me the last time I tried it. Alan DeKok.
participants (3)
-
Alan DeKok -
Marcelo Henique Cabral Ariza -
Oguzhan Kayhan