Rewriting Attributes with Freeradius
Ivan Kalik
tnt at kalik.net
Mon Mar 17 13:37:27 CET 2008
users file:
DEFAULT NAS-IP-Address == office switch/router IP, Ldap-Group ==
"admin"
Tunnel-Private-Group-ID := "23"
Same for special group and ID of 2. Just make sure you don't use
operator := in Ldap too, since ldap is listed after files by default.
Ivan Kalik
Kalik Informatika ISP
Dana 17/3/2008, "mrhotstandby at gmail.com" <mrhotstandby at gmail.com> piše:
>Hi there!
>
>On Mon, Mar 17, 2008 at 9:56 AM, Alan DeKok <aland at deployingradius.com> wrote:
>> mrhotstandby at gmail.com wrote:
>> > I want my freeradius to rewrite the vlan attributes for cetrain clients.
>>
>> From what... to what? Do you have examples?
>
>Sure, thanks for your time btw!
>My Main Office has three different vlans:
>2 -> default/clients
>10 -> admin
>12 -> special
>
>but in my small office, i only have 2 and 23, whereas 2 is like 2 at
>the main office, and 23 is admin.
>Special doesn't exist there, so it should be mapped to 2.
>
>So what i need is, if my client is the switch in the small office,
>rewrite 10 to 23, 12 to 2 and leave 2 as
>2.
>
>Again, thanks!
>-
>List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
>
>
More information about the Freeradius-Users
mailing list