Thank you both for your replies.
RewriteUsername would work fine except for one major problem: I don't know
the case of the username as stored in the database. Names are entered
automatically by customer request software (ie, the CD our ISP ships out).
Regarding that it would be "impossible", I'm not convinced of that yet. I'm
not sure how the various AuthBy algorithms work, but in SQL, for example,
you'd simply do:
SELECT username
FROM Accounts
WHERE LOWER(username) = LOWER(User-Name)
In otherwords, compare the lower (or upper) case variety of each for
matches. That is the functionality that I'm seeking. Otherwise, I'm going
to have to clean all our existing data, and then implement some code to
intercept all db entries and convert them to lower case. I was hoping to
avoid that mess.
Dave
On Wednesday, March 08, 2000 3:30 PM, Mike Nerone
[SMTP:[EMAIL PROTECTED]] wrote:
> All you need is to add a line to your config file, such as:
>
> RewriteUsername tr/A-Z/a-z/
>
> This example is given in the Radiator docs. As far as the
IgnorePasswordCase
> thing, that would be really tough (read "impossible") to do in a
consistent
> way, because, for example, when authorizing by the Unix passwd file, you
> don't know how the case of the stored, encrypted password. You'd have to
> literally try every possible upper/lowercase combination exhaustively
before
> giving up. Besides, as an security-concious admin, I would say that
> passwords SHOULD be case-sensitive.
>
> Mike Nerone <mailto:[EMAIL PROTECTED]>
> Network Operations Manager
> Internet Direct, Inc. <http://www.idworld.net/>
>
>
> > -----Original Message-----
> > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
> > Behalf Of Dave Kitabjian
> > Sent: Wednesday, March 08, 2000 12:22 PM
> > To: [EMAIL PROTECTED]
> > Subject: (RADIATOR) How to make username case-INsensitive?
> >
> >
> > I thought this would be a FAQ, but I can't seem to find it addressed
> > anywhere.
> >
> > The subject says it all. I'm using AuthBy=CDB, and I want to simply
allow
> > case-errors in the username (not the password) to be permitted. We are
> > about to switch it live, and since our current radius, RadiusNT, is
> > case-insensitive for the username, I'm afraid I will anger lots of
> > customers when I switch over to Radiator.
> >
> > I assumed there would be a common AuthBy setting such as
> > IgnoreUsernameCase
> > and IgnorePasswordCase, but I didn't see any.
> >
> > Thanks in advance for the help!
> >
> > Dave
> >
> > ===
> > Archive at http://www.starport.net/~radiator/
> > To unsubscribe, email '[EMAIL PROTECTED]' with
> > 'unsubscribe radiator' in the body of the message.
> >
>
===
Archive at http://www.starport.net/~radiator/
To unsubscribe, email '[EMAIL PROTECTED]' with
'unsubscribe radiator' in the body of the message.