Simultaneous-Use and sql

Aurélio de Souza Ribeiro Neto netolistas at mpc.com.br
Sun Apr 24 14:28:32 CEST 2016


Hello,

Em 23/04/2016 20:26, Laurens Vets escreveu:
> Hello list,
>
> I'm trying to enable "Simultaneous-Use := 1" for all our users. 
> Currently, usernames and passwords are in the radcheck table and 
> authentication works without issues. The DB also contains the DHCP ip 
> pool.
>
> I did the following:
> 1. Enabled "sql" in session in sites-available/default
> 2. Uncommented "simul_count_query" query in 
> mods-config/sql/main/mysql/queries.conf
>
> And from 
> https://github.com/FreeRADIUS/freeradius-server/blob/master/doc/configuration/simultaneous_use 
> I get:
>
> INSERT INTO radgroupcheck (GroupName, Attribute, op, Value) 
> values("dialup", "Simultaneous-Use", ":=", "1");
>
> Does that mean I have to assign all my users to a group ('dialup') or 
> can I use Simultaneous-Use somewhere else so that the default for all 
> users is 1 for instance?
> -
> List info/subscribe/unsubscribe? See 
> http://www.freeradius.org/list/users.html

     My simultaneous-use is working, and I put Simultaneous-use:=1 in 
radcheck table, for each user.

     Did you check if checkrad script is working? What's your NAS type?

Aurelio



More information about the Freeradius-Users mailing list