Upgrading from FreeRadius 2 to 3. Some pointers.

jan hugo prins jhp at jhprins.org
Thu Sep 21 09:34:26 CEST 2017



On 09/21/2017 12:05 AM, Alan DeKok wrote:
> On Sep 20, 2017, at 5:51 PM, jan hugo prins <jhp at jhprins.org> wrote:
>> This works fine in FreeRadius 2, but in FreeRadius 3 I get an error on
>> the if construct in the authorize section.
>   And... what is the error?

Invalid location for 'if'

>
>> Can I do something like this?
>>
>> ldap {
>>         server = "ldap.domain.local"
>>         if ( Realm == "aaa.com" ) {
>>             basedn = "ou=aaa,dc=bedrijf,dc=com"
>>         }
>   No.  You can't put policies into the module configuration.
>
>   Alan DeKok.
>
> -
> List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html



More information about the Freeradius-Users mailing list