Including vendor dictionary in config

Jorge Pereira jpereira at freeradius.org
Mon Aug 31 20:58:07 CEST 2020


> On 31 Aug 2020, at 15:50, Oleg Olejek <oleg.olejek at gmail.com> wrote:
> 
> Sure)
> The Main goal is to deal with Fortigate using vendor specific attribute.
> I added line at the end of radiusd.conf: $INCLUDE
> /usr/local/share/freeradius/dictionary

Share the content added into the file. Indeed, looks wrong. It will be hard to help if you don’t share the content. Therefore, keep in mind that the dictionaries files
expect *only* the dictionary syntax. You can’t add “if(…) {}” or anything else.


> radiusd -X gives this error:
> including configuration file /usr/local/etc/raddb/mods-enabled/unpack
> including configuration file /usr/local/etc/raddb/mods-enabled/utf8
> including files in directory /usr/local/etc/raddb/policy.d/
> including configuration file /usr/local/etc/raddb/policy.d/abfab-tr
> including configuration file /usr/local/etc/raddb/policy.d/accounting
> including configuration file /usr/local/etc/raddb/policy.d/canonicalization
> including configuration file /usr/local/etc/raddb/policy.d/control
> including configuration file /usr/local/etc/raddb/policy.d/cui
> including configuration file /usr/local/etc/raddb/policy.d/debug
> including configuration file /usr/local/etc/raddb/policy.d/dhcp
> including configuration file /usr/local/etc/raddb/policy.d/eap
> including configuration file /usr/local/etc/raddb/policy.d/filter
> including configuration file
> /usr/local/etc/raddb/policy.d/moonshot-targeted-ids
> including configuration file /usr/local/etc/raddb/policy.d/operator-name
> including configuration file /usr/local/etc/raddb/policy.d/rfc7542
> including files in directory /usr/local/etc/raddb/sites-enabled/
> including configuration file /usr/local/etc/raddb/sites-enabled/default
> including configuration file /usr/local/etc/raddb/sites-enabled/inner-tunnel
> including configuration file /usr/local/share/freeradius/dictionary
> including configuration file /usr/local/share/freeradius/dictionary.compat
> /usr/local/share/freeradius/dictionary.compat[12]: Expecting section start
> brace '{' after "ATTRIBUTE Client-Id"
> Errors reading or parsing /usr/local/etc/raddb/radiusd.conf
> 
> On Mon, Aug 31, 2020 at 9:43 PM Jorge Pereira <jpereira at freeradius.org>
> wrote:
> 
>> Oleg,
>> 
>> I didn’t understand that error. Can you share the debug output as
>> described in https://wiki.freeradius.org/guide/radiusd-X <
>> https://wiki.freeradius.org/guide/radiusd-X>
>> 
>> --
>> Jorge Pereira
>> jpereira at freeradius.org
>> 
>> 
>> 
>> 
>>> On 31 Aug 2020, at 12:27, Oleg Olejek <oleg.olejek at gmail.com> wrote:
>>> 
>>> dictionary.fortinet
>> 
>> -
>> List info/subscribe/unsubscribe? See
>> http://www.freeradius.org/list/users.html
> 
> 
> 
> -- 
> С уважением, Олежек Олег.
> Тел.:+380933964967
> Skype: dizaar
> 
> Best Regards, Oleg Olezhek.
> Phone: +380933964967
> Skype: dizaar
> -
> List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html



More information about the Freeradius-Users mailing list