FreeRadius + OpenLDAP + VLAN assignation
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
Im sorry I didnt 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@lists.freeradius.org [mailto:freeradius-users-bounces+romain.mercier=univ-angers.fr@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 dont 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
Am Mittwoch, 14. Februar 2007 14:54 schrieb Romain Mercier:
Im sorry I didnt 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
See: https://www.linux-magazine.com/issue/52/Freeradius_802.1X.pdf -- Dr. Michael Schwartzkopff MultiNET Services GmbH Addresse: Bretonischer Ring 7; 85630 Grasbrunn; Germany Tel: +49 - 89 - 45 69 11 0 Fax: +49 - 89 - 45 69 11 21 mob: +49 - 174 - 343 28 75 mail: misch@multinet.de web: www.multinet.de Sitz der Gesellschaft: 85630 Grasbrunn Registergericht: Amtsgericht München HRB 114375 Geschäftsführer: Günter Jurgeneit, Hubert Martens --- PGP Fingerprint: F919 3919 FF12 ED5A 2801 DEA6 AA77 57A4 EDD8 979B Skype: misch42
participants (2)
-
Michael Schwartzkopff -
Romain Mercier