(RADIATOR) problem with multiple realms in one username

Hugh Irvine hugh at open.com.au
Mon Jul 8 18:32:29 CDT 2002


Hello Slava -

# Handler for "user at slava.com"

<Handler User-Name = /\@slava.com$/>
	.....
</Handler>

# Handler for "user at slava.com@whatever"

<Handler User-Name = /\@slava.com\@/>
	.....
</Handler>


regards

Hugh


On Mon, 8 Jul 2002 20:17, sviatoslav.rimdenok at colt.ch wrote:
> Hi Hugh,
>
> thank you for your quick response!
>
> I'd like to have handler that matches only "username at slava.com", and do not
> match "username at slava.com@SLAVA", "username at slava.com@BLABLABLA" nor
> "username at BLABLA@slava.com" and so on..
>
> that means : to match the rule it must be only one realm name (for example
> "username at slava.com@SLAVA" has 2 realms inside) and that realm must be
> "slava.com"
>
> thanks again for your help!
>
> see you,
> Slava
>
> -----Original Message-----
> From: Hugh Irvine [mailto:hugh at open.com.au]
> Sent: Montag, 8. Juli 2002 11:28
> To: Rimdenok, Sviatoslav; radiator at open.com.au
> Subject: Re: (RADIATOR) problem with multiple realms in one username
>
>
>
> Hello Slava -
>
> You don't actually say what your requirements are - could you give me some
> more details on what exactly you want to do?
>
> BTW - if you want a handler to match "slave.com" as different to
> "slava.com at SLAVA", you should do this:
>
> <Handler User-Name = /slava.com$/>
> 	.....
> </Handler>
>
> which will match "slava.com" only at the end of the User-Name string.
>
> regards
>
> Hugh
>
> On Mon, 8 Jul 2002 18:13, sviatoslav.rimdenok at colt.ch wrote:
> >  Hi Guys,
> >
> >  We've got Radiator running on our side. Recently I've found really
>
> strange
>
> > behaviour of Radiator, - the "problem" comes then username in the
> > incoming RADIUS packet looks like "username at realmone@realmtwo" (please
> > see the live example from the log file):
> >
> > ... skipped .....
> >
> > Mon Jul  8 04:20:39 2002: DEBUG: Packet dump:
> > *** Received from 10.10.10.10 port 51675 ....
> > Code:       Access-Request
> > Identifier: 185
> > Authentic:  <136>1<0><0>so<0><0><5><13><0><0>84<0><0>
> > Attributes:
> >         User-Name = "someone at slava.com@SLAVA"
> >         User-Password =
> > ".<177><238>e<210><203>(<235><189><200><21><226>r<5><24><19>"
> >         NAS-Identifier = "i-Pass VNAS"
> >         NAS-IP-Address = 10.10.10.10
> >         NAS-Port = 1
> >         Service-Type = Framed-User
> >         Framed-Protocol = PPP
> >
> >
> > Mon Jul  8 04:20:39 2002: DEBUG: Check if Handler Realm=slava.com should
>
> be
>
> > used to handle this request
> > Mon Jul  8 04:20:39 2002: DEBUG: Handling request with Handler
> > 'Realm=slava.com'
> >
> > ... skipped .....
> >
> >
> > In the configuration file we have a handler like <Handler
> > Realm=slava.com> ... </Handler>, so we expect that it satisfies all
> > usernames like "user at slava.com".. But, as the reality showed, it matches
> > "username at slava.com@SLAVA" too..
> >
> > Most probably that's expected behaviour of Radiator, but how we should
> > change our Handler <Handler Realm=..> to work it properly according to
> > our needs?
> >
> > Thank you so much for your help!
> >
> > sincerely yours,
> >
> > Slava Rimdenok
> >
> >
> > Sviatoslav Rimdenok
> > System Administrator
> > COLT Telecom AG
> > Badenerstrasse 820
> > CH-8048 Zürich
> >
> > t: 	+41 1 5 600 900
> > f:	 	+41 1 5 600 910
> > e:            mailto:sviatoslav.rimdenok at colt.ch
> >                www.colt.ch
> >
> > we make business straight.forward
> >
> >
> > ===
> > 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.

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