(RADIATOR) MaxSessions

Hugh Irvine hugh at open.com.au
Sun Feb 3 22:16:49 CST 2002


Hello Robert -

Both the NAS and Radiator consider case differences as different usernames, 
so the answer to your question is no - the RewriteUsername has no bearing. As 
mentioned previously, the only way to deal with the problem is with a session 
database that stores both the original and the rewritten usernames. You can 
continue to use the original username for checking the NAS, and you can use 
the rewritten username to check simultaneous use.

regards

Hugh


On Sat, 2 Feb 2002 19:37, Robert wrote:
> Hugh,
>
> I assume that it won't allow the uppercase to log in if I don't use the
> rewrite username also?
>
> Thanks,
> Robert
>
> Hugh Irvine wrote:
> > Hello Robert -
> >
> > Radiator maintains the session database with the username as entered on
> > the NAS. If you want to do login limits based on the rewritten username,
> > you should use an SQL session database and redefine the queries to use
> > the rewritten username.
> >
> > regards
> >
> > Hugh
> >
> > On Sat, 2 Feb 2002 17:45, Robert wrote:
> > > Hello,
> > >
> > > I've recently started using the MaxSession clause in my default realm
> > > and see something strange.  It would appear that it's working properly
> > > and only allowing the user to login once unless the user uses a capital
> > > letter in their username (ie bert and Bert are being treated as
> > > different usernames).  I am using the following in my default realm:
> > >
> > > RewriteUsername tr/A-Z/a-z/
> > > RewriteUsername s/^([^@]+).*/$1/
> > >
> > > I assume this is the reason for the behaviour described above?  If it
> > > makes and difference, I'm running Radiator-2.14.1 on BSDI 4.01.
> > >
> > > Is there a way of disabling this?
> > >
> > > Thank you in advance,
> > > Robert
> > >
> > > ===
> > > 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.

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