how do I define in my dictionary the vendor of format Extended-Vendor-Specific-1
Alan DeKok
aland at deployingradius.com
Fri Jun 12 18:19:29 CEST 2015
On Jun 12, 2015, at 6:24 AM, Vereecke, Katrien (Katrien) <katrien.vereecke at alcatel-lucent.com> wrote:
> I am using freeradius-server-3.0.8.
>
> I am trying to use the extended-vendor-sepcific-1 attribute as specified in RC6929.
That's good...
> How can I indicate in my dictionary that the vendor must be according to the extended-vendor-specific format?
Hmm... the "man dictionary" documentation is wrong, unfortunately. I'll fix that. You should do something like:
BEGIN-VENDOR FreeRADIUS format=Extended-Vendor-Specific-1
ATTRIBUTE FreeRADIUS-Blah-Blah 1 integer
END-VENDOR FreeRADIUS
> I added the following in a new dictionary file:
> VENDOR Alcatel-IPD-Ext-1 241.26.6527
That won't work.
> BEGIN-VENDOR Alcatel-IPD-Ext-1
> ATTRIBUTE Alc-Ext-TestAttr-1 1 integer
> END-VENDOR Alcatel-IPD-Ext-1
>
> This gives no problems when starting the radius server, but the attribute is not sent in the extended-vendor-specific format but still in the old way VSA.
I'll poke the dictionary parser to make it more robust.
> I found in the http://freeradius.org/radiusd/man/dictionary.txt that :
That's wrong. I've pushed a fix.
> "You can also use "format=Extended-Vendor-Specific-1", through
> "format=Extended-Vendor-Specific-6". These define VSAs in the
> "extended vendor-specific" space"
>
> but this gives errors :
> Errors reading dictionary: dict_init: /usr/local/share/freeradius/dictionary.alcatel.sr.ext[15]: Invalid format for VENDOR. Expected text like "1,1", got "Extended-Vendor-Specific-1"
>
> Could you please help in how this should be done?
Grab the v3.0.x branch from https://github.com/FreeRADIUS/freeradius-server/
That will work.
Alan DeKok.
More information about the Freeradius-Users
mailing list