Should I expect something like this to do the right thing?


ldap-localhost {
        server = "127.0.0.1"
        basedn = switch "%{Huntgroup-Name}" {
                case dsl {
                        "ou=dsl,ou=radius,dc=viptalk,dc=net"
                }
                case {
                        "ou=accounts,ou=viptalk,ou=net"
                }
        }
}

etc....

Basically, I want to set certain ldap variables based on the Huntgroup- Name. Without defining a bunch of different ldap servers, that is.

Thanks.
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Reply via email to