(RADIATOR) Public method to change Client Identifier

Hugh Irvine hugh at open.com.au
Wed May 11 22:58:51 CDT 2005


Hello Joao -

I would strongly discourage you from doing this.

It is usually a much better approach to have your PreHandlerHook add a 
"pseudo-attribute" to the incoming request, then set up your Handlers 
in consequence.

......

<Handler Some-Useful-Attribute-Name = SomethingMeaningfull>
	.....
</Handler>

regards

Hugh


On 12 May 2005, at 01:00, João Pedro Gonçalves wrote:

> I need to change the Client-Identifier in order to log into a 
> different handler,
> defined using
>
> <Handler Client-Identifier=something>
>
> Is there a public method to change the Client's Identifier on a 
> PreHandlerHook?
>
> $p->change_attr('Client-Identifier' => 'something') does not work, 
> since it seems
> Radiator looks for $p->{Client}->{Identifier} .
>
> I'm using this directly but i guess it might break on an upgrade.
>
> Thanks,
> Joao Pedro Goncalves
> Portugal Telecom
>
> --
> 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 read the reference manual ("doc/ref.html")?
Have you searched the mailing list archive 
(www.open.com.au/archives/radiator)?
Have you had a quick look on Google (www.google.com)?
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, MacOS X.
-
Nets: internetwork inventory and management - graphical, extensible,
flexible with hardware, software, platform and database independence.
-
CATool: Private Certificate Authority for Unix and Unix-like systems.

--
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