help-gnu-radius
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Help-gnu-radius] Translation string instead attribute value


From: Sergey Poznyakoff
Subject: Re: [Help-gnu-radius] Translation string instead attribute value
Date: Tue, 17 Aug 2004 15:51:22 +0300

Alexey Kovrizhkin <address@hidden> wrote:

> I'm trying to migrate from 0.96 to 1.2.93 and found that attribute
> values (Framed-Protocol, Service-Type etc) now represented in SQL accounting 
> (at least)
> as translation strings instead numbers as it was in 0.96.

That  depends on the context in which a translatable attribute is
encountered in raddb/sqlserver. If it is quoted (using either double
or single quote), then it will be translated to its dictionary value.
If not, its numeric value will be used. Thus, assuming
Framed-Protocol = PPP:

'%C{Framed-Protocol}'   expands to 'PPP'
%C{Framed-Protocol}     expands to 1

Regards,
Sergey




reply via email to

[Prev in Thread] Current Thread [Next in Thread]