23 Apr
2008
23 Apr
'08
10:22 p.m.
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.