> [EMAIL PROTECTED] wrote: > > I want to add simultaneous access check so I uncommented > > "simul_count_query" in sql.conf and added "sql" into session{} section of > > radiusd.conf. > > > > >From the radiusd log I see that the query is defined, but never used. What > > am I missing? > > Are you using the 'Simultaneous-Use' attribute anywhere for that > user? If not, then the server will never do session checking.
This is my /etc/raddb/users file, I think that Simultaneous-Use is defined when radiusd fall through sql module. From the log I see that the module "files" is run before module "sql". Or my be I had to set the attribute into the database? DEFAULT Simultaneous-Use = 1 Service-Type = Framed-User, Framed-Protocol = PPP, Ascend-Idle-Limit = 900, Fall-Through = Yes Thanks for the very prompt reply! Niccolo Rigacci Italy - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html