Thank you,

it works with simple modification (not too effective):


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

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


Miroslav

Dne 12.9.2013 19:36, Arran Cudbard-Bell napsal(a):

On 12 Sep 2013, at 18:18, Miroslav Lednicky <[email protected]
<mailto:[email protected]>> 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 <[email protected]
<mailto:[email protected]>>
FreeRADIUS Development Team



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


--
Mgr. Miroslav Lednický
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Reply via email to