(RADIATOR) Realm help needed

Hugh Irvine hugh at open.com.au
Wed Oct 10 01:14:12 CDT 2001


Hello Jeff -

You should use a global RewriteUsername, and possibly a regular expression in 
your Handler.

# define Handler

<Handler Realm = /mydomain.com/i>
	.....
</Handler>

hth

Hugh


On Tuesday 09 October 2001 23:26, Jeffrey Wheat wrote:
> Hugh,
>
> Thanks for the reply. Actually my usernames do not have
> mailto: tags on them. That is my stupid outlook client
> feeling the need to html'ize everything. Anyway, I have
> tried a few different things including downcasing the
> entire string: RewriteUsername tr/A-Z/a-z/ which will
> work until it attempts to match a <Handler> at which
> point the original string is applied to the matching
> code. So once again I am forced to use many different
> handlers to match the realm name. All in all, what I
> am ultimately attempting to accomplish is to have all
> my accounting records stored into my database, using
> single rows for both the start and stop record.
>
> Regards,
> Jeff
>
> -----Original Message-----
> From: Hugh Irvine [ mailto:hugh at open.com.au]
> Sent: Monday, October 08, 2001 7:50 PM
> To: Jeffrey Wheat; radiator at open.com.au
> Subject: Re: (RADIATOR) Realm help needed
>
>
>
>
> Hello Jeff -
>
> > I am running into trouble with proxy users. I am trying to figure out
> > how to rewrite just the realm portion of the username so that I do not
> >
> > need to create seperate handlers for each form of the realm. For
> > instance,
> > I have users that login like such:
> >
> >     user at Mydomain.com < mailto:user at Mydomain.com>
> >     user at mydomain.com < mailto:user at mydomain.com>
> >     user at mydomain < mailto:user at mydomain>
> >     user at MYDOMAIN.com < mailto:user at MYDOMAIN.com>
> >
> > Is there an easy way to rewrite the realm portion to fix this problem?
>
> You would typically use a RewriteUsername to do whatever is required.
>
> Do your usernames really look like the above? If so, you might need to
> do a
> bit more to get rid of the "< mailto:....>" strings.
>
> Have a look at section 6.4.19 in the Radiator 2.18.4 reference manual
> included in the distribution in the file "doc/ref.html".
>
> regards
>
> Hugh

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