Hi,

"Alan DeKok" <[EMAIL PROTECTED]> wrote:
> "Bobby R. Cox" <[EMAIL PROTECTED]> wrote:
> > I would like the detail file/dir to look like this...
> > 
> > /usr/var/radius/radacct<hostname>/detail
> 
>   The server doesn't look up hostnames, because it takes too long.
> 
> > I am not sure on the syntax to get the host name to show 
> rather then 
> > the client ip address.
> 
>   "ln -s"

I would suggest using the variable %C which is replaced with the
clientname, ie. the shortname of the clients definition in the
clients.conf file.

So configuring the defail-module with:
        detailfile = ${radacctdir}/%C/detail
will create the detail-files in directories with a more meaningful
name (if you define those meaningful names in clients.conf :) instead
of the IP-address.

The potential problem is however that according to doc/variables.txt,
the one-character variables are only provided for backwards compatibility,
they don't support all the features of the longer variable names, they will
propably be removed in a future release and the %C variable does not have
a longer alias (like %{Clientname}).

Are they going to be removed and would it be useful to make the
%{Clientname}
alias for %C?
-- 
Tero Turtiainen
TELECOM MEDIA NETWORKS
Cap Gemini Ernst & Young
[EMAIL PROTECTED]


This message contains information that may be privileged or confidential and is the 
property of the Cap Gemini Ernst & Young Group. It is intended only for the person to 
whom it is addressed. If you are not the intended recipient, you are not authorized to 
read, print, retain, copy, disseminate, distribute, or use this message or any part 
thereof. If you receive this message in error, please notify the sender immediately 
and delete all copies of this message.


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

Reply via email to