3.0.11: unjustified warning on startup

Arran Cudbard-Bell a.cudbardb at freeradius.org
Wed Feb 10 16:35:32 CET 2016


> On 10 Feb 2016, at 06:18, Alan DeKok <aland at deployingradius.com> wrote:
> 
> On Feb 10, 2016, at 4:21 AM, Stefan Winter <stefan.winter at restena.lu> wrote:
>> this here is shown on startup:
>> 
>> "raddb/clients/staff[232]: The item 'staff_type' is defined, but is
>> unused by the configuration"
> 
>  That should probably be moved to just a debug message.

But then people will ignore them :(

>> But it's not correct... yes, I set a custom attribute staff_type inside
>> a client {} there, but I *do* use it in configuration, in statements
>> like this:
>> 
>> update request {
>>     &RESTENA-Service-Type = "Staff-%{client:staff_type}"
>> }
> 
>  Hmm... I see.  The difficulty is that there's no "parse" callback for the dynamic expansions.  as in "Here's some text, is it correct?"
> 
>  That would be needed in order to fix this issue.

Yeah, we'd need something similar to what we have for the map proc stuff.

-Arran

Arran Cudbard-Bell <a.cudbardb at freeradius.org>
FreeRADIUS development team

FD31 3077 42EC 7FCD 32FE 5EE2 56CF 27F9 30A8 CAA2

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 872 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20160210/3e51c22f/attachment-0001.sig>


More information about the Freeradius-Users mailing list