Hello, On Wed, 12 Mar 2003, Alan DeKok 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. How can I distinguish calling context (acct, auth or post-auth) in 'detail_print' function ? > > 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... Thanks ! -- Andrey Lakhno, land-ripe - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html