authorization depending on authentication (ldap)

Bjørn Mork bjorn at mork.no
Thu Jan 5 12:12:36 CET 2006


Bjørn Mork <bjorn at mork.no> writes:

> authorize {
>           Auth-Type LDAP1 {
>                  ldap1
>           }
>           Auth-Type LDAP2 {
>                  ldap2
>           }
>           Auth-Type LDAP3 {
>                  ldap3
>           }
> }
>
>
>
>
> Note: This would be a lot easier with freeradius-1.1, where I believe
> something like this would have been sufficient since rlm_ldap now sets
> Auth-Type to the instance name by default:
>
> authorize {
>           Auth-Type ldap1 {
>                  ldap1
>           }
>           Auth-Type ldap2 {
>                  ldap2
>           }
>           Auth-Type ldap3 {
>                  ldap3
>           }
> }


Ooops, sorry.  This should of course go into the "authenticate"
section, *not* the "authorize" section.


Bjørn




More information about the Freeradius-Users mailing list