[Top][All Lists]
[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.
- [Help-gnu-radius] Simultaneous-Use,
Anton Yuzhaninov <=