User-Name in the Accounting log is being stripped

Alan DeKok aland at deployingradius.com
Tue Apr 15 14:59:52 CEST 2014


Clement Ogedengbe wrote:
> I configured my detail reply_log file with the following:
> 
> header = "%{Packet-Src-IP-Address} Returned from %{home_server:ipaddr}
> for User %{User-Name} - %t"

  OK.

> The reply log captured shows the records below: The User-Name in the
> header for the reply_log shows the complete user-name whereas the
> user-name in the reply log record is being stripped for some reasons. As
> a result of this, the accounting log is showing the “stripped” user-name
> instead of the complete user name.

  This is why we say to read the debug output.  It would tell you what's
going on.

  In this case, you've edited the "reply_log" version of the detail
module to add the header.  You have NOT edited the "detail" module which
is used by the accounting section.

  Do that, and the problem will be fixed.

  Alan DeKok.


More information about the Freeradius-Users mailing list