(RADIATOR) Original username

Hugh Irvine hugh at open.com.au
Tue Jul 24 18:09:27 CDT 2007


Hello Fabio -

I suggest you remove the global RewriteUsernames, and put whichever  
ones are required in the corresponding Handler(s).

Something lile this:


<Handler Client-Identifier=/NEW_CI/,Realm=/milan.it/>
  RewriteUsername .....
  RewriteUsername .....
  ...
</Handler>

<Handler Client-Identifier=/NEW_CI/,Realm=/rome.it/>
  RewriteUsername .....
  RewriteUsername .....
  ...
</Handler>

<Handler Realm=/it/>
  RewriteUsername .....
  RewriteUsername .....
  ...
</Handler>

<Handler Realm=/test/>
  RewriteUsername .....
  RewriteUsername .....
  ...
</Handler>

<Handler>
  .......
</Handler>

......


hope that helps

regards

Hugh


On 25 Jul 2007, at 03:05, Fabio Prina wrote:

> On Tue, 24 Jul 2007 09:26:48 -0700
> "miko at yournetplus.com" <miko at yournetplus.com> wrote:
>
>> Hi Fabio, take a look at section 5.2 "Special Characters" in the
>> Radiator Reference. You'll find %u does exactly what you need.
>
> Hi Miko,
>
> I have already tried use the %u, I'm sure in a wrong way :-)
>
> I try to explain better my problem, the actual (unfortunately not
> modifiable) configuration is something like (not so good)
>
> RewriteUsername     s/@milan.it$/\@it/
> RewriteUsername     s/@rome.it$/\@it/
> RewriteUsername     s/@venice.it$/\@it/
> RewriteUsername     s/@florence.it$/\@it/
>
> <Handler Realm=/it/>
>  ...
> </Handler>
>
> <Handler Realm=/test/>
>  ...
> </Handler>
>
>
> Now I must add some new Handler based on original Realm (or user name)
> and (a new) Client-Identifier
>
>
> <Handler Client-Identifier=/NEW_CI/,Realm=/milan.it/>
>  ...
> </Handler>
>
> <Handler Client-Identifier=/NEW_CI/,Realm=/rome.it/>
>  ...
> </Handler>
>
>
> The problem is that the globals RewriteUsername delete the realm and
> the request "Could not find a handler"
>
>
> PS:
> I have used the %u in this "funny way":
>
> <Handler Client-Identifier=/NEW_CI/,%u=/rome.it/>
>
>
> thanks
> -- 
> Fabio
>
> --
> 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?
Have you checked the RadiusExpert wiki:
http://www.open.com.au/wiki/index.php/Main_Page

-- 
Radiator: the most portable, flexible and configurable RADIUS server
anywhere. Available on *NIX, *BSD, Windows, MacOS X.
Includes support for reliable RADIUS transport (RadSec),
and DIAMETER translation agent.
-
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