Missing field in accounting

Alan DeKok aland at deployingradius.com
Tue Sep 30 18:18:12 CEST 2008


Arrigo Savio wrote:
> Hi everybody. I'm trying to complete the setup of freeradius 2.1.1.
> I have the following problem:
> When the data flow passes from authentication to accounting, I miss the
> stripping of the username/realm.

  You need to copy the *same* User-Name re-writing rules from the
"authorize" section into the "preacct" section.

 I mean: in first authentication step, I
> have correctly splitted the username (test) from the realm (realm.com) and
> infact the "INSERT INTO radpostauth" is correctly populated.
> The next query,

  There is no "next query".  There is another packet, which is an
*accounting* packet, and not an *authentication* packet.

  Alan DeKok.



More information about the Freeradius-Users mailing list