Hi Heikki, Thanks, that works properly!
Remco -----Oorspronkelijk bericht----- Van: Heikki Vatiainen [mailto:[email protected]] Verzonden: donderdag 4 augustus 2011 11:27 Aan: Remco van Noorloos CC: [email protected] Onderwerp: Re: [RADIATOR] IntegerVal doesn't obey dictionary? 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 = "[email protected]" > 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 > [email protected] > http://www.open.com.au/mailman/listinfo/radiator -- Heikki Vatiainen <[email protected]> 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. _______________________________________________ radiator mailing list [email protected] http://www.open.com.au/mailman/listinfo/radiator
