"Chris Knipe" <[EMAIL PROTECTED]> wrote:
> In this situation, the correct approach would be for checkrad to be
> called from FR yes - something, which for some reason it is not
> doing.

  It should, but I'm not sure why.

> If a utmp is in place, in the above occurance, checkrad would be called 
> which will verify that the user is NOT logged into the NAS, and thus will 
> allow the auth.  You will however still sit with the stale accounting 
> records in SQL

  No.  See src/main/session.c.  If the user is no longer logged in,
then the server "zaps" the login records by sending a fake accounting
stop packet to itself.

> Again, IMHO checkrad should be called if SQL's simul use query returns more 
> than x records, but again, to my understanding, this has not yet been 
> implemented in FR.

  I believe it is.  See src/modules/rlm_sql/rlm_sql.c, which calls
rad_check_ts().

  Alan DeKok.


- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Reply via email to