Osmany <osmany@oc.quimefa.cu> writes:
This time I used:
|298|test@internet.quimefa.cu|MD5-Password | := | password |313|test@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@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@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