ldap filter depending on NAS

tnt at kalik.net tnt at kalik.net
Wed Apr 22 12:14:08 CEST 2009


> Yet, I have not been able to:
> - Tell the NAS to change the VLAN depending on LDAP account info,

Have you read you NAS documentation regarding assigning VLANs? If you know
which attributes you need to pass you map them to ldap attributes in
ldap.attrmap as reply items.

> - Tell the NAS to change the SSiD + VLAN depending on user LDAP account

Same as above.

> - Filter MAC + MEDIUM TYPE + PORT Number depending on LDAP account info

Mac should be in the Calling-Station-Id, medium type is unlikely to be in
the request and Port-Number is. Add them and map them to ldap attributes
in ldap.attrmap as check items.

Use of ldap.attrmap is commented on in ldap module configuration file
(raddb/modules/ldap). But that is for those who bother to read existing
documentation.

Ivan Kalik
Kalik Informatika ISP




More information about the Freeradius-Users mailing list