Hello,
I want to change from gnu-radius to freeradius 1.0.1.
For some old shiva-nases I had a rewrite rule for accounting
requests:
integer
foo()
{
if (%[User-Name] == "" && *%[Acct-Session-Id])
%[Orig-User-Name] = %[Acct-Session-Id];
else
%[Orig-User-Name] = %[User-Name];
return 0;
}
This means:
If User-name empty and Acct-Session-Id is given then
take Acct-Session-Id as User-Name
else Take given User-name
How can I do this with freeradius?
Gr��e
Hans-Peter Fuchs
Hans-Peter Fuchs - RZKR, Zimmer 20
Zentrum fuer angewandte Informatik - Universitaetsweiter Service RRZK
Universit�t zu K�ln - Tel: 0221-470-6972
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html