Matt Rose <[EMAIL PROTECTED]> wrote:
> In radiusd.conf is there any way to have
> 
> detailfile = ${radacctdir}/%{Client-HostName}/detail
> 
> instead of:
> 
> detailfile = ${radacctdir}/%{Client-IP-Address}/detail

  Not really.  The Client-HostName attribute isn't added to the
request.  It would do DNS lookups, which are bad in a fast server.

  If you want them, you can define that attribute, and then add it to
each request in src/modules/rlm_preprocess/rlm_preprocess.c, where it
currently adds in the Client-IP-Address attribute.


  Or, you could do DNS lookups offline, and do:

ln -s client_hostname 1.2.3.4

  Which would do the same thing, but with much less work.

  Alan DeKok.

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

Reply via email to