Andrey Lakhno <[EMAIL PROTECTED]> wrote:
> I think additional parameter should be added to struct detail_instance
> which point to auth detail file. And function similar to detail_accounting
> should be writen.

  Or, generalize the code if it's similar, and call one 'detail print'
function for both accounting & authorization.

> I want to write AV pairs for auth request *and* auth response. Where should I
> put new function ?

  In the rlm_detail module.  List the function in the 'authorize' and
'post_auth' entries of the module data structure.  Then configure
radiusd.conf to call the module...

> I'm not very familiar with freeradius internals, so can you give me the clue
> or correct me if I wrong.

  You're on the right track.  See the other modules for examples.

  Alan DeKok.

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

Reply via email to