Thanks so much. It makes a perfect sense. I now understand that the NAS (that the user has been connected on) will be pulled out of MySQL with simul_verify_query and checked against of that NAS, not the one that a user is trying to connect through.
There might be trouble with Cisco clients as the OID in checkrad is a bit dated. Can you explain a little more. We do have 2 Cisco. Checkrad itself works fine, I can see it in checkrad.log
Thank you again. Irina ============ ----- Original Message ----- From: <tnt@kalik.co.yu> To: "FreeRadius users mailing list" <freeradius-users@lists.freeradius.org> Sent: Tuesday, June 12, 2007 5:21 PM Subject: Re: To check Simultaneous against 2 NASes
Checked in sql.conf, there are 2 queries for Simultaneous: "simul_count_query" and "simul_verify_query". Are they both needed to get Simultaneous working?
No. If you set your nastype to "other" in clents.conf verify query won't be used.
A question would be more about "simul_verify_query". Is it used for Simultaneous as well?
Yes, if you specify nastype other than "other" (oh, dear; I am sure this can be put better). Then that query will get parameters for checkrad to query NAS about the existance of that session.
I therefore don't need to change anything in here, do I?
No, you don't. It will all work fine with two clents as well.
The problem is we have 2 NASes. How can I check if a user is connected (or not connected) on NAS1 and NAS2?
simul_count_query will get all open sessions. simul_verify_query will get to what NAS and port those sessions are bound to. checkrad will then query appropriate NAS for each session to check if it is still open.
It will all work fine - as long as checkrad script works for you. There might be trouble with Cisco clients as the OID in checkrad is a bit dated.
Ivan Kalik Kalik Informatika ISP
- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html