help-gnu-radius
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Help-gnu-radius] Simultaneous-Use


From: Anton Yuzhaninov
Subject: [Help-gnu-radius] Simultaneous-Use
Date: Tue, 2 Aug 2005 15:29:26 +0400

Hello,

How i can redefine for some users default value for Simultaneous-Use?

In etc/raddb/users:

DEFAULT Auth-Type = SQL,
        Simultaneous-Use = 1
        Service-Type = Framed-User,
        Framed-Protocol = PPP

in etc/raddb/sqlserver:

check_attr_query  SELECT attr,value,op FROM users_attribute WHERE login='%u' 
AND op IS NOT NULL

mysql> select * from users_attribute where login='anton';
+----+-------+------------------+-------+------+
| id | login | attr             | value | op   |
+----+-------+------------------+-------+------+
|  2 | anton | Simultaneous-Use | 2     | =    |
+----+-------+------------------+-------+------+

But a can't login 2 sessions:

Aug  2 15:23:25 vetlan radiusd: Auth.warning: (Access-Request nas1 223 
"anton"): Multiple logins: [anton] max. 1

-- 
 WBR,
 Anton Yuzhaninov.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]