How to specify multiple values for Called-Station-Id (checkval)

Kostas Kalevras kkalev at noc.ntua.gr
Tue May 30 00:03:38 CEST 2006


On Mon, 29 May 2006, Mike Jakubik wrote:

> Kostas Kalevras wrote:
>> As i said before you should just add more attribute/value pairs. It works.
>> What does your radgroupcheck table look like when you add more than one 
>> number?
>
> Could someone please help me with this? I am stumped, is there a bug in the 
> rlm_checkval module?
>
> ---
>
> Well, it does not in my case. Here is the table:
>
> +----+------------+-------------------+----+------------+
> | id | GroupName  | Attribute         | op | Value      |
> +----+------------+-------------------+----+------------+
> | 11 | restricted | Called-Station-Id | := | 4166231473 |
> | 16 | restricted | Called-Station-Id | := | 4166231474 |
> | 17 | restricted | Called-Station-Id | := | 4166231475 |
> | 18 | restricted | Called-Station-Id | := | 4168489499 |
>
> I dial in to 4168489499 and this is what happens:
>
> Fri May 26 10:26:12 2006 : Auth: Invalid user (rlm_checkval: This
> Called-Station-Id is not allowed for the user): [mikej/xxx] (from client
> xxx port 1487 cli xxx)

You r using the := operator. That way u ll be overwriting the Called-Station-Id 
value. Use the += operator instead.

>
>

--
Kostas Kalevras		Network Operations Center
kkalev at noc.ntua.gr	National Technical University of Athens, Greece
Work Phone:		+30 210 7721861
'Go back to the shadow'	Gandalf



More information about the Freeradius-Users mailing list