Simultaneous-Use unreliable for 'other' NAS-type

Alan DeKok aland at
Sat Jul 6 19:17:50 CEST 2019

On Jul 5, 2019, at 10:53 PM, Taymour Gabr via Freeradius-Users <freeradius-users at> wrote:
> I'm confused however how checkrad can help with any simultaneous use
> that isn't set to exactly '1'.
> checkrad has this notice at the top
> # Returns:	0 = no duplicate, 1 = duplicate, >1 = error.
> So if checkrad is called when radwho would deny the user, and my
> simultaneous-use is set to 3. I would want it to return 0  if that
> user is logged in less than 3 times.
> That in turn means, I have to hard-code checkrad to include a method
> for my it for my nas to return 0, if it finds less than 3 users. The
> number 3 would be hard-coded.
> This doesn't seem right. Am I missing something?

  "checkrad" hasn't really been of great use for many years.  Most modern NASes are good enough that they don't lose accounting packets that often.

  In short: If cehckrad works, great.  If it doesn't work, they may be a lot of effort to fix it.

  Alan DeKok.

More information about the Freeradius-Users mailing list