Freeradius + 2 x LDAP + VLAN

Miroslav Lednicky miroslav.lednicky at fnusa.cz
Mon Sep 16 20:04:23 CEST 2013


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 <miroslav.lednicky at fnusa.cz
> <mailto:miroslav.lednicky at 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 at freeradius.org
> <mailto:a.cudbardb at freeradius.org>>
> FreeRADIUS Development Team
>
>
>
> -
> List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
>

-- 
Mgr. Miroslav Lednický


More information about the Freeradius-Users mailing list