i added to radcheck table and result i the same - with many calling-station-id no authentication MariaDB [radius]> select * from radcheck; +----+----------+--------------------+----+-------------------+ | id | username | attribute | op | value | +----+----------+--------------------+----+-------------------+ | 15 | 6696 | Calling-Station-Id | == | 5C-8D-4E-45-26-7E | | 7 | 6696 | Cleartext-Password | := | 6696 | | 11 | 6696 | Calling-Station-Id | == | D0-B1-28-39-46-A1 | | 14 | 6696 | Fall-Through | = | 1 | +----+----------+--------------------+----+-------------------+ 4 rows in set (0.00 sec) 2018-07-26 14:12 GMT+03:00 Alan Buxey <alan.buxey@gmail.com>:
i'm guessing you dont have fall-through enabled in your radcheck table?
alan
On 26 July 2018 at 07:38, Maksim Bessonov <maksim.bessonov2@gmail.com> wrote:
hi i don't know how to tell FreeRADIUS user password. I tried to use unlang in autorize section
authorize { preprocess sql foreach &control:Calling-Station-Id { if (&request:Calling-Station-Id == "%{Foreach-Variable-0}") { ok } eap { ok = return } but without success.
And i didn' find in docs any examples with multiple Calling-station-id.
2018-07-26 0:05 GMT+03:00 Alan DeKok <aland@deployingradius.com>:
On Jul 25, 2018, at 4:46 PM, Maksim Bessonov <
wrote:
Debug with the problem
I didn't tell you to post more debug output.
I told you to tell FreeRADIUS what the users password is.
If you don't know what that means, ask a question.
If you do know what it means, then you know how to fix the problem.
All of this is documented in the FAQ and in many examples.
Alan DeKok.
- List info/subscribe/unsubscribe? See http://www.freeradius.org/ list/users.html
maksim.bessonov2@gmail.com> - List info/subscribe/unsubscribe? See http://www.freeradius.org/ list/users.html
- List info/subscribe/unsubscribe? See http://www.freeradius.org/ list/users.html