Hello Michael -

If the attribute is not present, you will just get a "0" (zero) in the 
expression which should always work.

To say any more we will need to see a copy of the configuration file (no 
secrets) and a trace 4 debug showing what is happening.

regards

Hugh


On 7 Dec 2011, at 03:17, Michael Newton wrote:

> Thanks, I had already tried that after seeing it in another list posting, 
> with no effect. I believe the error is resulting from the thing inside the {} 
> not being present in the request, isn't it?
> 
> Mike
> 
> On 2011-12-06, at 12:21 AM, "Hugh Irvine" <[email protected]> wrote:
> 
>> 
>> Hello Michael -
>> 
>> Use "0%{IntegerValue:Acct-Output-Gigawords}" (leading zero).
>> 
>> regards
>> 
>> Hugh
>> 
>> 
>> On 6 Dec 2011, at 16:34, Michael Newton wrote:
>> 
>>> Hi, most of our NAS devices include Acct-Output-Gigawords in their 
>>> accounting requests, so we store it in our SQL database using an AuthSelect 
>>> parameter with the %{IntegerValue:Acct-Output-Gigawords} syntax. But, we 
>>> have a few devices that do not include it. So every time the AuthSelect is 
>>> run in that case, we get this error in the log:
>>> 
>>> ERR: There is no value named  for attribute Acct-Input-Gigawords. Using 0.
>>> 
>>> I would request that either this be reduced in severity from error, or 
>>> provide the opportunity to specify a default setting (e.g. 
>>> %{IntegerValue:Acct-Input-Gigawords|0} where 0 is the default in case it's 
>>> not present.) We did the former in our installation because it was easy, 
>>> but the latter would probably be more useful.
>>> 
>>> Or, if there's already a way to deal with this I'd love to hear it. Thanks.
>>> 
>>> Mike
>>> 
>>> _______________________________________________
>>> radiator mailing list
>>> [email protected]
>>> http://www.open.com.au/mailman/listinfo/radiator
>> 
>> 
>> --
>> 
>> Hugh Irvine
>> [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.
>> 


--

Hugh Irvine
[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

Reply via email to