Dmitry Malenko <[EMAIL PROTECTED]> wrote:
> How can I configure FreeRADIUS server to send Accounting-Reply
> packets with some additional info?

  Use vendor specific attributes.

  The RFC's state that the Accounting-Reply packets should contain
almost no attributes.  So the server does this.  See
'src/main/radiusd.c', function rfc_clean().

> So, when Authentification-Reply is to be send authorize_reply_query is
> executed and can return any attributes and values we have for this
> user. But all queries related to accounting are assumed, as far as I
> see, not to return any data but to alter only some tables in database.

  Yes.  That's what accounting does.

> What should I do to return additional info when processing accounting

  Try using the 'files' module, and the 'acct_users' file.

  But I still don't see the need for sending attributes in an
accounting reply.

  Alan DeKok.

- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Reply via email to