Hello Daniel -

Hmmmm - curious. What happens when you reverse the order with Realm first and
User-Name second? And can you send me a trace 4 showing what happens in both
cases? And what version of Radiator and Perl are you running?

thanks

Hugh


On Fri, 06 Oct 2000, daniel wrote:
> Hi HUgh,
> 
> I tested regexp and non-regexp part separetely and they work fine.
> But, when I put them together it doesn't.
>  
> 
> Here is exact configuration 
> 
> 
> <Handler User-Name = /^(pm|im|hs|rm)[0-9]{6}$/,Realm=test.interq.or.jp>
>         <AuthBy RADIUS>
> 
>         </AuthBy>
> 
> </Handler>
> 
> and I'm testing with 
> radpwtst -secret something -s radiatortest -user pm023345 -password something
> -nas_ip_address radiatortest.interq.or.jp -nas_port 12455 
> I have radiatortest in my client list and have DefaultRealm set to
> test.interq.or.jp
> 
> Thanks 
> 
> Daniel Jung
> 
> System Administrator InterQ Inc
> 
> On Fri, 6 Oct 2000, Hugh Irvine wrote:
> 
> > 
> > Hello Daniel -
> > 
> > On Fri, 06 Oct 2000, daniel wrote:
> > > Hi, 
> > > 
> > > While using Handler ,
> > > 
> > > <Handler User-Name = /^expression/, Realm = NameOfRealm> 
> > > 
> > > </Handler>
> > > 
> > > I try using above Check items in Handler but it didn't work as expected. 
> > > Here is what I am trying to do. 
> > > 
>  > I want to check if the username matches the expression and is from 
> > > Certain Realm, use following method. 
> > > I expected this work without a problem but instead this Handler is 
> > > igonred and goes to <Handler>. I tried testing without the User-Name check
> > > item and it worked. Can you not combine regular expression and non-regular
> > > expression in the Handler? 
> > > 
> > 
> > Yes you can mix regexp and non-regexp in the same Handler, but you should test
> > the regexp part on its own first to make sure it is doing what you expect.
> > 
> > hth
> > 
> > Hugh
> > 
> > 
> > -- 
> > Radiator: the most portable, flexible and configurable RADIUS server 
> > anywhere. SQL, proxy, DBM, files, LDAP, NIS+, password, NT, Emerald, 
> > Platypus, Freeside, Interbiller, TACACS+, PAM, external, etc, etc.
> > Available on Unix, Linux, FreeBSD, Windows 95/98/2000, NT, MacOS X.
> > 
> >
-- 
Radiator: the most portable, flexible and configurable RADIUS server 
anywhere. SQL, proxy, DBM, files, LDAP, NIS+, password, NT, Emerald, 
Platypus, Freeside, Interbiller, TACACS+, PAM, external, etc, etc.
Available on Unix, Linux, FreeBSD, Windows 95/98/2000, NT, MacOS X.



===
Archive at http://www.starport.net/~radiator/
Announcements on [EMAIL PROTECTED]
To unsubscribe, email '[EMAIL PROTECTED]' with
'unsubscribe radiator' in the body of the message.

Reply via email to