vendor number of dictionary not working

Meike Stone meike.stone at googlemail.com
Thu Nov 22 16:34:18 CET 2012


Hello,

I try to include a additional dictionary from fdXtended via
$INCLUDE        /etc/raddb/dictionary.fdXtended
in the dirctionary file.

I get the error:
including dictionary file /etc/raddb/dictionary
Errors reading dictionary: dict_init:
/etc/raddb/dictionary.fdXtended[1]: dict_init:
/etc/raddb/dictionary.fdXtended[1]: dict_init:

The file  /etc/raddb/dictionary.fdXtended looks like:

========================================
VENDOR fdXtended 34536
BEGIN-VENDOR fdXtended
ATTRIBUTE fdXtended-Bandwidth-Up 1 integer
ATTRIBUTE fdXtended-Bandwidth-Down 2 integer
ATTRIBUTE fdXtended-PostAuthURL 3 string
ATTRIBUTE fdXtended-One2onenat-IP 4 string
ATTRIBUTE fdXtended-ContentFilter 5 integer
ATTRIBUTE fdXtended-NetworkPolicy 6 integer
ATTRIBUTE fdXtended-BytesDown 7 integer
ATTRIBUTE fdXtended-BytesUp 8 integer
ATTRIBUTE fdXtended-Expiration 9 string
ATTRIBUTE fdXtended-SessionTimeout 10 integer
ATTRIBUTE fdXtended-Wan-Interface 11 string
END-VENDOR fdXtended
=======================================

The number of the dictionary is reserved by IANA
(http://www.iana.org/assignments/enterprise-numbers) and correct.

So I tried other numbers and realized, that only numbers are accepted,
who are smaller than 2^15. The largest working number is 32766.
What is going wrong here?


Thanks Meike


More information about the Freeradius-Users mailing list