FreeRadius + OpenLDAP + VLAN assignation

Romain Mercier romain.mercier at univ-angers.fr
Wed Feb 14 09:55:04 CET 2007


Hi,

 

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: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20070214/b1725dd7/attachment.html>


More information about the Freeradius-Users mailing list