User-Name Attribute Lost When Reading Listener File

Alan DeKok aland at deployingradius.com
Tue Apr 21 21:42:25 CEST 2009


JDL wrote:
> I have found a problem when FR reads back accounting data from the
> listener server. It seems that the User-Name attribute is being lost
> under certain circumstances. My guess is that it is related to the ":="
> operator that is being user since the User-Name was rewritten by the
> hints file prior to accounting.

  The code that reads the "detail" file is the same as the code that
reads the "users" file, and is used by "radclient".  All of which work
with "=" or ":=".

  I'm a little surprised at this, and I find it a little hard to see how
this can happen.

> I shut down FR and modified the User-Name operator on all of the
> listener files to be "=" and it seems to work fine.

  Well, that seems reproducible at least.  But I'm again a little
surprised that it happens at all, and that no one has run into it before.

  Alan DeKok.



More information about the Freeradius-Users mailing list