Loading fails without reporting an error

Matthew Newton mcn4 at leicester.ac.uk
Fri Jul 12 12:42:31 CEST 2013


On Fri, Jul 12, 2013 at 11:24:54AM +0100, Matthew Newton wrote:
> On Fri, Jul 12, 2013 at 11:19:00AM +0200, Alan DeKok wrote:
> > Lovaas,Steven wrote:
> > > I had a mismatch between the type of the home_server localhost (auth), and the attribute used in one of the realms pointing to the pool that references that home server (pool, instead of auth_pool). Changing the type of the localhost home_server allowed FR to complete loading.
> >   It's likely just adding a printed error message in the home server
> > code.  But knowing exactly where to add it would be useful.
> 
> It's easy to trigger - take a standard 2.x config and apply the
> following patch to the config:

To add to that, the same config error on v3 does give an error
message, but although it's technically true (a home server being
defined by its name *and* type), it's not entirely helpful-

raddb/proxy.conf[593]: Unknown home_server "localhost".

Don't know if there are any ways to improve that message - I guess
there are a number of reasons that the home_server might not be
found. The line number should point to the problem section,
though.

Matthew


-- 
Matthew Newton, Ph.D. <mcn4 at le.ac.uk>

Systems Specialist, Infrastructure Services,
I.T. Services, University of Leicester, Leicester LE1 7RH, United Kingdom

For IT help contact helpdesk extn. 2253, <ithelp at le.ac.uk>


More information about the Freeradius-Users mailing list