At 01:38 PM 10/4/2001 -0400, you wrote:
>VISP Systems Administration <[EMAIL PROTECTED]> wrote:
> > The question now, since I am used to xtradius is how to pass the args or
> > vars. XT would pass them to the script ie. ($ENV{"User-Name"}), or I
> > could specify them in execparams and pass them along via %u %p etc via
> > command line. So, how do I get them from freeradius?
>
> You can pass then on the command line as '%u', etc. See
>'doc/README' for more information.
doc/README lists off 7 of these % vars.. Are there more or a complete list
somewhere?
> Or, you can use environment variables. From the shell: $USER_NAME.
>
> i.e. Take the attribute name, convert the name to uppercase, convert
>'-' to '_', and use that as the name of the environment variable.
This is perfect! =)
I however; would like to submit a bug. Seems to be the same issue we have
with XT radius. I can capture $NAS_IP_ADDRESS, but can not get
$CLIENT_IP_ADDRESS. Which is what I need. Any idea why this var is so
elusive?
> Alan DeKok.
>
>
>-
>List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
----------------------------------
Nathan Miller
Visp Systems Administration
Voice: 541-476-5352 ext. 4
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html