Hello Mark -

No you cannot use GlobalVar's in this way.

You should have a look at the AuthBy SQLRADIUS clause for interesting 
ways to use information from an SQL database.

regards

Hugh


On Wednesday, August 21, 2002, at 05:18 AM, Mark Mackay / Orcon wrote:

> Hi -
>
> I want to build up a list of possible matches using a database query on
> startup, and then use them in a <handler> clause.
>
>     <Handler Attribute=/%{GlobalVar:MyGlobalVar}/ >
>
>         #do stuff is matches
>
>     </Handler>
>
>     GlobalVar:MyGlobalVar will contain items like "VALUE1|VALUE2|VALUE3"
>
> I've tried this, but don't seem to be having any joy.
>
> I'd also like to build up a RewriteUsername string using the same 
> method.
>
>     RewriteUsername s/^([^@]+)(%{GlobalVar:MyRewrite})/
>
>     where GlobalVar:MyRewrite may contain:  
> '@domain1.co.nz|@domain2.co.nz'
>
>
>
> /Mark
>
> ===
> Archive at http://www.open.com.au/archives/radiator/
> Announcements on [EMAIL PROTECTED]
> To unsubscribe, email '[EMAIL PROTECTED]' with
> 'unsubscribe radiator' in the body of the message.
>
>

NB: I am travelling this week, so there may be delays in our 
correspondence.

--
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 [EMAIL PROTECTED]
To unsubscribe, email '[EMAIL PROTECTED]' with
'unsubscribe radiator' in the body of the message.

Reply via email to