[RADIATOR] IntegerVal doesn't obey dictionary?

Heikki Vatiainen hvn at open.com.au
Thu Aug 4 04:27:20 CDT 2011


On 08/04/2011 11:59 AM, Remco van Noorloos wrote:

Hello Remco,

> I'm trying to use the following syntax to convert e.g. 'Virtual' to its integer value '5':
> 
> '%{IntegerVal:%{NAS-Port-Type}}'

Try '%{IntegerVal:NAS-Port-Type}'. Now you are trying to get IntegerVal
from attribute called "Virtual".

> When sending an Access-Request the log mentions the following line a couple of times:
> 
> Thu Aug  4 10:32:44 2011: ERR: There is no value named  for attribute Virtual. Using 0.
> 
> The send packet is the following:
> 
> Code:       Access-Request
> Identifier: 102
> Authentic:  <16><9><14>/<<197><26>K(A<230>'<212>}r<195>
> Attributes:
>       User-Name = "xxxx at xxx.xxx"
>       User-Password = xxxxxxxxxx
>       NAS-Port = 172032
>       Called-Station-Id = "xxx.xxx.xxx.xxx"
>       Calling-Station-Id = " xxx.xxx.xxx.xxx "
>       NAS-Port-Type = Virtual
>       Tunnel-Client-Endpoint = xxx.xxx.xxx.xxx
>       NAS-IP-Address = xxx.xxx.xxx.xxx
>       Cisco-AV-Pair = "ip:source-ip= xxx.xxx.xxx.xxx "
> 
> What's going wrong here?
> 
> Thanks,
> 
> Remco
> 
> 
> 
> 
> _______________________________________________
> radiator mailing list
> radiator at open.com.au
> http://www.open.com.au/mailman/listinfo/radiator


-- 
Heikki Vatiainen <hvn at open.com.au>

Radiator: the most portable, flexible and configurable RADIUS server
anywhere. SQL, proxy, DBM, files, LDAP, NIS+, password, NT, Emerald,
Platypus, Freeside, TACACS+, PAM, external, Active Directory, EAP, TLS,
TTLS, PEAP, TNC, WiMAX, RSA, Vasco, Yubikey, MOTP, HOTP, TOTP,
DIAMETER etc. Full source on Unix, Windows, MacOSX, Solaris, VMS,
NetWare etc.


More information about the radiator mailing list