On 12 Sep 2013, at 18:18, Miroslav Lednicky <miroslav.lednicky@fnusa.cz> wrote:

Hello,

I have Freeradius 2.1.10 with 2 LDAP servers (ldap1 + ldap2) and Ubuntu 12.04

authorize {
ldap1
if (ok) {
update reply {
Tunnel-Type = VLAN,
Tunnel-Medium-Type = IEEE-802
Tunnel-Private-Group-Id = 1
}
}
elsif {
ldap2
if (ok) {
update reply {
Tunnel-Type = VLAN
Tunnel-Medium-Type = IEEE-802
Tunnel-Private-Group-Id = 2
}
}
}

Arran Cudbard-Bell <a.cudbardb@freeradius.org>
FreeRADIUS Development Team