FreeRadius + OpenLDAP + VLAN

Romain Mercier romain.mercier at univ-angers.fr
Wed Feb 14 14:54:53 CET 2007


I’m sorry I didn’t search far enough into the mail archive of
freeradius-users.

I have search a bit more and find my answer in a subject called:

“Assigning VLAN based on LDAP attribute”

 

Romain Mercier

  _____  

De :
freeradius-users-bounces+romain.mercier=univ-angers.fr at lists.freeradius.org
[mailto:freeradius-users-bounces+romain.mercier=univ-angers.fr at lists.freerad
ius.org] De la part de Romain Mercier
Envoyé : mercredi 14 février 2007 09:55
À : 'FreeRadius users mailing list'
Objet : FreeRadius + OpenLDAP + VLAN

 

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/690639a2/attachment.html>


More information about the Freeradius-Users mailing list