How to specify multiple values for Called-Station-Id (checkval)
Mike Jakubik
mikej at rogers.com
Tue May 30 00:15:50 CEST 2006
Kostas Kalevras wrote:
>> 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.
Ahh, finally!!! Thanks for that, this seems to do it. Do you by any
chance know if there is a way to do a logical NOT on the numbers? I.e. I
want to specify that the users can not call a list of specified numbers.
More information about the Freeradius-Users
mailing list