Calling-Station-Id

Bjørn Mork bjorn at mork.no
Thu Jan 7 14:51:37 CET 2010


Osmany <osmany at oc.quimefa.cu> writes:

> This time I used:
>
> |298|test at internet.quimefa.cu|MD5-Password       | := | password
> |313|test at internet.quimefa.cu|Calling-Station-Id | =~ | 6480342|555555
>
> and it still accepts the user from regardless of the phone number it's using. this is what comes up
> in the debug.

[..]

> [sql] sql_set_user escaped user --> 'test at internet.quimefa.cu'
> rlm_sql (sql): Reserving sql socket id: 3
>         expand: SELECT id, username, attribute, value, op           FROM
> radcheck           WHERE username = '%{SQL-User-Name}'           ORDER
> BY id -> SELECT id, username, attribute, value, op           FROM
> radcheck           WHERE username = 'test at internet.quimefa.cu'
> ORDER BY id
>         expand: %{Calling-Station-Id} -> 72061490
> [sql] User found in radcheck table

I do not understand this.  It can't happen if what you've got in the
database is what you tell us above.


Bjørn




More information about the Freeradius-Users mailing list