FreeRadius + OpenLDAP + VLAN assignation

Romain Mercier romain.mercier at
Wed Feb 14 09:55:04 CET 2007



I want to assign users to a certain VLAN depending on an attribute stocked
in LDAP.

At the time, I use files module to do that and it works in a first test but
don't take care about the attribute.


How can I use the attribute I create?


In the ldap.attrmap file I add this line:

checkItem         Ldap-Group       auaStatut


In the users file I add these lines:

DEFAULT         Ldap-Group == "xxxx"

            Tunnel-Type = VLAN,

            Tunnel-Medium-Type = IEEE-802,

            Tunnel-Private-Group-Id = 1,

            Fall-Through = 0


Does anybody have an idea?


Romain Mercier

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the Freeradius-Users mailing list