Calling-Station-Id
michel at casa.co.cu
michel at casa.co.cu
Wed Jan 6 02:05:07 CET 2010
Osmany <osmany at oc.quimefa.cu> escribió:
> Hi,
>
> I have Freeradius configured using a mysql backend. I want users to be
> able to connect only if their Calling-Station-Id is the same as the
> attribute I specify in the radcheck table in mysql. For example:
>
> |312|test at internet.quimefa.cu|Calling-Station-Id | == | "phonenumber"
> |298|test at internet.quimefa.cu|MD5-Password | := | password
>
> supposedly, I want to allow user test to only connect from this
> phonenumber, but when I really test the account I find that user test
> can connect from any phone number. So I really don't know what to do, I
> already tried to use different combinations of operators. Can anyone
> help me?
>
> in the radreply table I have this:
>
> |111|test at internet.quimefa.cu|Auth-Type|:=|Accept|
>
> thanks in advance.
>
>
> -
Try using += operator and the phonenumber if the number of the user is
8724466 put 7 at the begin , for example: 78724466.
You can put radius in debug mode for check why is reject the access.
Greetings
Michel
----------------------------------------------
Webmail, servicio de correo electronico
Casa de las Americas - La Habana, Cuba.
More information about the Freeradius-Users
mailing list