[radius] Freeradius/MySql problem

Alan DeKok aland at ox.org
Sun Jul 3 19:49:46 CEST 2005


Radius <radius at kingmanaz.net> wrote:
> I have a directory /etc/raddb/dictonary

  FreeRADIUS never created that.

  It should be a file.

> >  See raddb/dictionary in the 1.0.4 source distribution.
> >  
> it says in there that they are at /usr/local/share/freeradius/
> 
> and they are there. I did the default installation.

  What you missed is that the dictionary in /etc/raddb/dictionary
should be nothing more than a reference to the
/usr/local/share/freeradius files.

> When I edit and delete the dups, it just keeps going one file after
> the other.

  Don't edit the dictionaries!  This whole problem came about because
when you upgraded the "make install" process told you what you would
have to do next, and you ignored it.  You then went and edited mor
ethings without understanding them, making random changes in the hopes
that something would work.

> I'll have to pull 0.93 from an old backup. This seems to be getting worse
> as I try to make adjustments.
  
  Exactly.  Your "adjustments" are based on incomplete knowledge, and
as a result, are wrong.

  The simple solution is to re-install 1.0.4, but this time do:

$ ./configure --prefix=/opt/freeradius
$ make
$ make install

  Since you don't already have a "/opt/freeradius" directory, it will
make one, install itself, and the version of the server in
/opt/freeradius WILL WORK.

  You can then update the configuration files in
/opt/freeradius/etc/raddb to match your local configuration.

  And DON'T EDIT THE DICTIONARY FILES.

  Alan DeKok.




More information about the Freeradius-Users mailing list