Upgrading from FreeRadius 2 to 3. Some pointers.

Alan DeKok aland at deployingradius.com
Thu Sep 21 00:05:29 CEST 2017


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?

> 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.



More information about the Freeradius-Users mailing list