(RADIATOR) Using "Identifier" in a client clause
Hugh Irvine
hugh at open.com.au
Mon Jul 28 18:51:44 CDT 2003
Hello Bob -
The parameters that are passed to the external program are the
attributes that are contained in the request packet, so you will need
to arrange for the Identifier to be added to the incoming request.
With recent versions of Radiator you can do this with an AddToRequest
in the Client clause:
<Client 1.2.3.4>
Secret XXXXXX
Identifier modem
AddToRequest Client-Identifier = %{Client:Identifier}
</Client>
regards
Hugh
On Tuesday, Jul 29, 2003, at 01:01 Australia/Melbourne, Bob Shafer
wrote:
> There are certainly other ways to do what I want, but I like the idea
> of using the "Identifier" in a client clause to pass some parameter's
> to an authby external program.
>
> Something like this:
>
> <Client 1.2.3.4>
> Secret XXXXXXX
> Identifier modem(student or faculty or staff)
> </Client>
>
> And while I can see clearly how to use the Identifier to select a
> handler, and there are examples of how to use it in a hook, I can't
> find, in the documention, how I might access it in a authby external
> program.
>
> So, can it be done, and if so, how?
>
> Thanks,
>
> Bob Shafer
> University of Denver
>
> ===
> Archive at http://www.open.com.au/archives/radiator/
> Announcements on radiator-announce at open.com.au
> To unsubscribe, email 'majordomo at open.com.au' with
> 'unsubscribe radiator' in the body of the message.
>
>
NB: have you included a copy of your configuration file (no secrets),
together with a trace 4 debug showing what is happening?
--
Radiator: the most portable, flexible and configurable RADIUS server
anywhere. Available on *NIX, *BSD, Windows 95/98/2000, NT, MacOS X.
-
Nets: internetwork inventory and management - graphical, extensible,
flexible with hardware, software, platform and database independence.
===
Archive at http://www.open.com.au/archives/radiator/
Announcements on radiator-announce at open.com.au
To unsubscribe, email 'majordomo at open.com.au' with
'unsubscribe radiator' in the body of the message.
More information about the radiator
mailing list