reading hosts from NAS table not working on 2.2.6?

A.L.M.Buxey at lboro.ac.uk A.L.M.Buxey at lboro.ac.uk
Fri May 1 00:40:55 CEST 2015


Hi,

>   How many listen sections do you have?  Where else are your clients defined?

just the one. in the main radiusd.conf   (well, i have the listen {} in buffered-sql, control-socket and
inner-tunnel)

>   My guess is that you don't have a "listen" section associated with the virtual server.  But you do have a global "listen" section, which has its own set of clients.  So when you add clients to the virtual server, they aren't used by any "listen" section.

right

>   If you have a "listen" section tied to a virtual server, then the clients from SQL will be associated with that virtual server, and the associated "listen" section will pick them up.  That's what didn't work in 2.2.4.

yes - this was to allow duplicate clients to be defined differently in seperate virtual servers  (which isnt something
I want/need ;-) )

>   I supposed I could fix the code so that if there's no "listen" section in a virtual server, then the client is associated with the global list of clients.  That's easy enough to do, and probably meets most peoples expectations.

that sounds about right....to ensure behaviour stays the same as you migrate from earlier 2.x releases

alan


More information about the Freeradius-Users mailing list