(RADIATOR) Re: FW: SQLRadius Extension - Where to start?
Hugh Irvine
hugh at open.com.au
Sun May 19 19:24:53 CDT 2002
Hello Martin -
You are probably not subscribed to the list with the address that you sent
this message from.
The answers to your questions are:
1. AddToReply, StripFromReply, etc. are all supported in Radiator 3.0 with
the "HostColumnDef" construct.
HostSelect select HOST%0, SECRET, ADDTOREPLY, STRIPFROMREPLY from \
RADSQLRADIUS where TARGETNAME='%R'
HostColumnDef 0, Host
HostColumnDef 1, Secret
HostColumnDef 2, AddToReply
HostColumnDef 3, StripFromReply
2. The simplest way to use the same SQL connection is to specify an AuthBy
SQL clause with an Identifier, then do a lookup on the AuthBy clause and use
the database handle from there.
There are some example hooks in the file "goodies/hooks.txt".
regards
Hugh
On Mon, 20 May 2002 09:32, Martin Edge wrote:
> Hey Hugh,
>
> I didn't notice this message pop out on the list..
>
> Thanks,
> Martin
>
> -----Original Message-----
> From: Martin Edge
> Sent: Thursday, 16 May 2002 10:47 PM
> To: radiator at open.com.au
> Subject: SQLRadius Extension - Where to start?
>
>
> Hey Guys,
>
> As part of my SQLRadius configuration, I want to be able to specify
> StripFromReply and AddToReply fields in my database, and be able to
> utilise these from the SQLRadius.pm module automagically.
>
> What would be the best place/module to start?
>
> Also, how does one utilise the existing database connection being used
> in an AuthBy so another connection doesn't have to be spawned ? (say if
> I have a hook that looks up information on a user).
>
> Thanks,
> Martin
--
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