Upgrading from FreeRadius 2 to 3. Some pointers.
jan hugo prins
jhp at jhprins.org
Thu Sep 21 10:22:32 CEST 2017
I was indeed missing a server default around my default server.
That fixes at least something.
Thanks
On 09/21/2017 10:07 AM, Matthew Newton wrote:
> On 21 September 2017 08:53:33 BST, jan hugo prins <jhp at jhprins.org> wrote:
>> The thing is that the "if" is not in the module config, but in the
>> authorize section of the site.
> Hmm, check your brackets to make sure they are all correct, e.g. you haven't accidentally put the 'if' inside an 'update' block.
>
>> I need to select a ldap module based on the realm. In 2.x I could do
>> this in the authorize section, in 3.x it is not possible anymore.
> This hasn't changed between v2 and v3. Though v3 can be more strict and not allow some syntax errors that v2 did sometimes.
>
>
>> Thu Sep 21 09:45:33 2017 : Debug: including configuration file
>> /etc/raddb/sites-enabled/betterbe
>> Thu Sep 21 09:45:33 2017 : Error:
>> /etc/raddb/sites-enabled/betterbe[13]:
>> Invalid location for 'if'
> Could you send the contents of this file?
>
> Are you maybe missing a 'server' block? See the sites-available/default in the v3 default config.
>
More information about the Freeradius-Users
mailing list