All,
i'm using freeradius with mysql to authentication users based on username,
password, and their calling station id.
but now i have some users that wish to dial up from two or more different
CLIs.
I need a bit of help on setting up the database records in the radcheck
table, this is what i am using at the moment, is this correct?
+------+----------+--------------------+------------+------+
| id | UserName | Attribute | Value | op |
+------+----------+--------------------+------------+------+
| 35 | 102523 | User-Password | password | NULL |
| 36 | 102523 | Calling-Station-Id | 123456 | NULL |
| 1152 | 102523 | Calling-Station-Id | 123457 | NULL |
+------+----------+--------------------+------------+------+
or should it be like this, using two separate records:
+------+----------+--------------------+------------+------+
| id | UserName | Attribute | Value | op |
+------+----------+--------------------+------------+------+
| 35 | 102523 | User-Password | password | NULL |
| 36 | 102523 | Calling-Station-Id | 123456 | NULL |
| 1151 | 102523 | User-Password | password | NULL |
| 1152 | 102523 | Calling-Station-Id | 123457 | NULL |
+------+----------+--------------------+------------+------+
do i need a value in the last "op" field?
thanks in advance.
Mark
--
--------------------------------
http://www.thedumbterminal.co.uk
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html