attr_rewrite replaced by ulang
Gabriel Marais
gabriel.j.marais at gmail.com
Tue Sep 18 14:06:48 CEST 2018
Hi Guys
We are in the process of setting up a test environment so we can migrate
from 2.x to 3.x
Reading the documentation, attr_rewrite is obsolete and should be
replaced by ulang...
I have this in my sites-available/default
authorized {
realmchange
...
}
realmchange is referenced back to:-
attr_rewrite realmchange {
attribute = realm
searchin = packet
searchfor = ".+"
replacewith = %{Called-Station-Id}
maxmatches = 1
new_attribute = yes
}
1. How do I write this in ulang?
2. Do I put the ulang section under authorize { ... } section?
Many thanks, Gabriel
More information about the Freeradius-Users
mailing list