I've done all that already,
I have downloaded the new version and I do have 'doc/variables.txt' .
Yet, looking at it did not give me a clue of what should be replacing the
"Client-IP-Address"
in order to get the 'shortname' parameter from the naslist file.
from the man of naslist :
shortname
This field is optional, and declares a short alias for
the NAS. It is used in the /var/log/radwtmp
accounting file, and to build the directory name for the
accounting detail file.
I did not see any variable that has to do with that parameter on the
radius.conf file nor the variables file...
I did try : %{Attribute-Name}
but I guess I do miss something here...
(could be that the variables.txt file is not a complete one?)
this is from the variables.txt file :
----------------------------------------------------------------------------
---------------------------
The variables defined by the server are:
%{Attribute-Name} Corresponding value for Attribute-Name
in request
%{request:Attribute-Name} Corresponding value for Attribute-Name
in request
%{reply:Attribute-Name} Corresponding value for Attribute-Name
in reply
%{proxy-reply:Attribute-Name} Corresponding value for Attribute-Name
in the proxy reply (if it exists)
The following one-character variables are also defined. However, they
are duplicates of the previous general cases, and are only provided
for backwards compatibility. They may be removed in a future
release.
(note: "They may be removed in a future release." !!!) (Zohar)
%a Protocol (SLIP/PPP)
%c Callback-Number
%d request day (DD)
%f Framed IP address
%i Calling Station ID
%l request timestamp
%m request month (MM)
%n NAS IP address
%p Port number
%s Speed (PW_CONNECT_INFO)
%t request in ctime format
%u User name
%A radacct_dir
%C clientname
%D request date (YYYYMMDD)
%L radlog_dir
%M MTU
%R radius_dir
%S request timestamp in SQL format
%T request timestamp in database format
%U Stripped User name
%V Request-Authenticator (Verified/None)
%Y request year (YYYY)
%Z All request attributes except password (must have big buffer)
----------------------------------------------------------------------------
---------------------------
regards
Zohar Ram
Development & Networking
Knet
----------------------------------------------------------
Tel: 03-6233640/658
Mobile: 972-52-755-641
Email: [EMAIL PROTECTED]
----------------------------------------------------------
----- Original Message -----
From: "Chris Parker" <[EMAIL PROTECTED]>
To: "Zohar Ram" <[EMAIL PROTECTED]>
Sent: Monday, April 22, 2002 8:05 PM
Subject: Re: naslist
> At 09:07 PM 4/22/2002 +0200, Zohar Ram wrote:
> >I understood that,
> > but I can't seem to find the string which goes in there....
> >
> >I must be blind or something...
>
> detailfile = ${radacctdir}/%{Client-IP-Address}/detail
>
> Which part of "Client-IP-Address" is hard to figure out? Also, follow
> alan's instructions to download a semi-recent version, which contains
> the 'doc/variables.txt' file. That lists all of your options for putting
> in the line.
>
> Nobody is going to tell you what the answer is. You've been given
pointers
> to where you can find the answer. Finding the answer will require you to
> do some homework and possibly some testing.
>
> -Chris
>
> --
> \\\|||/// \ StarNet Inc. \ Chris Parker
> \ ~ ~ / \ WX *is* Wireless! \ Director, Engineering
> | @ @ | \ http://www.starnetwx.net \ (847) 963-0116
> oOo---(_)---oOo--\------------------------------------------------------
> \ Wholesale Internet Services - http://www.megapop.net
>
>
>
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html