How is the session configuration at radiusd.conf ?

Are you check with sql session or radutmp ?

If sql, check if simultaneous-use sql line is enabled at the end of sql.conf
file.

Sergio Jose Ferreira
WGO Internet

-----Mensagem original-----
De: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] nome de Omar Armas
Enviada em: segunda-feira, 27 de outubro de 2003 16:00
Para: [EMAIL PROTECTED]
Assunto: simultaneous use not working in mysql


I have freeradius 0.9 with mysql module working, but simultaneous use is
not working well.
I want that all users to have only active session at a time.

This is an example of my database configuration:

-------------
mysql> select * from radcheck where username='demo';
+------+----------+-----------+----+--------+
| id   | UserName | Attribute | op | Value  |
+------+----------+-----------+----+--------+
| 2058 | demo     | Password  | == | demopa |
+------+----------+-----------+----+--------+
1 row in set (0.00 sec)
----

mysql> select * from usergroup where username='anexo02';
+------+----------+-----------+
| id   | UserName | GroupName |
+------+----------+-----------+
| 2055 | demo     | dynamic   |
+------+----------+-----------+
1 row in set (0.00 sec)

-----
(table radgroupcheck)

mysql> select * from radgroupcheck;
+----+-----------+------------------+----+-------+
| id | GroupName | Attribute        | op | Value |
+----+-----------+------------------+----+-------+
|  1 | dynamic   | Auth-Type        | := | Local |
|  2 | dynamic   | Simultaneous-Use | := | 1     |
+----+-----------+------------------+----+-------+
2 rows in set (0.00 sec)
--------------

But the users are able to load several time, similtaneous-use=1 is not
working.
Any idea why?

Omar


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


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

Reply via email to