standard attributes
Hassan, Hazem (Nokia - EG/Cairo)
hazem.hassan at nokia.com
Tue Feb 9 21:04:44 CET 2021
Thanks Alan ,
Still have the same problem after deleting nokia.txt dictionary and returned the following error :
[root at host-80-194-79-145 /]# radiusd -X
.....................
reading pairlist file /etc/raddb/mods-config/files/authorize
/etc/raddb/mods-config/files/authorize[1]: Parse error (check) for entry root at brlb-WM-services2:/etc/freeradius/3.0#: Expecting operator
Failed reading /etc/raddb/mods-config/files/authorize
/etc/raddb/mods-enabled/files[9]: Instantiation failed for module "files"
Any idea?
Thanks,
Hazem
-----Original Message-----
From: Freeradius-Users <freeradius-users-bounces+hazem.hassan=nokia.com at lists.freeradius.org> On Behalf Of Alan DeKok
Sent: Tuesday, February 9, 2021 9:46 PM
To: FreeRadius users mailing list <freeradius-users at lists.freeradius.org>
Subject: Re: standard attributes
On Feb 9, 2021, at 2:37 PM, Hassan, Hazem (Nokia - EG/Cairo) <hazem.hassan at nokia.com> wrote:
> Is there a way to include both standard attributes and VSAa on Freeradius running on Centos7?
All attributes are defined by name. Whether it's a RFC attribute or a VSA doesn't make any difference.
> The below path doesn’t have any dictionaries
>
> [root at host-80-194-79-145 share]# cd /usr/share/
> [root at host-80-194-79-145 share]# ls | egrep dictionary
The "ls" command is only looking at the current directory. It's not doing a recursive search.
> I am asking because after installation , I get the below error while trying to start "radiusd -X"
...
> [root at host-80-194-79-145 share]# radiusd -X FreeRADIUS Version 3.0.13
You should really be using 3.0.21. It has a number of fixes with respect to systemd.
> Copyright (C) 1999-2017 The FreeRADIUS server project and contributors
> There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
> PARTICULAR PURPOSE You may redistribute copies of FreeRADIUS under the
> terms of the GNU General Public License For more information about
> these matters, see the file named COPYRIGHT Starting - reading
> configuration files ...
> including dictionary file /usr/share/freeradius/dictionary including
> dictionary file /usr/share/freeradius/dictionary.dhcp
> including dictionary file /usr/share/freeradius/dictionary.vqp
> Errors reading /etc/raddb/dictionary: dict_init:
> /etc/raddb/dictionary[30]: Couldn't open dictionary
> "/usr/share/freeradius/dictionary.nokia19.txt": No such file or
> directory
The default configuration doesn't have "dictionary.nokia19.txt""
Someone edited the dictionary and broke it. Don't do that.
Revert to the default dictionaries, and it will work.
Alan DeKok.
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
More information about the Freeradius-Users
mailing list