case sensitive

Igor Brezac igor at ypass.net
Fri Aug 1 17:06:21 EDT 2003


On Fri, 1 Aug 2003, Andre Nicholson wrote:

> Wait, hold on here. You're making this harder than it has to be.
>
> Make the /client/ use lowercase names --
>
> MySQL:
> SELECT LOWER(email_user) FROM some_table;
>
> If it's Web-Cyradm that you want to change just find where it passes the authentication
> information off and just alter the application to change the username to lowercase.
>

What you are proposing will not work.

Authentication will work, but imapd will fail to find the mailbox when the
username and mailbox case do not match.

-Igor

> Andre
>
> >
> > On Fri, 1 Aug 2003, Bartosz Jozwiak wrote:
> >
> >> So if I upgarde to cyrus 2.2 the username will not be case sensitive any
> >> more?
> >
> > It will appear case insensitive to the user.  Cyrus will lowercases all
> > usernames before it proceeds.  You need to make sure that all mailboxes
> > are lowercase in the mailstore and you will need to add 'username_tolower:
> > yes' to imapd.conf.
> >
> >> I am storing or apssword and username in database MySql.
> >> Still it will work?
> >
> > Yup.
> >
> > -Igor
> >
> >>
> >> Regards,
> >> Bartosz Jozwiak
> >>
> >>
> >> ----- Original Message -----
> >> From: "Igor Brezac" <igor at ipass.net>
> >> To: "Bartosz Jozwiak" <bartek at cq-link.sr>
> >> Cc: <info-cyrus at lists.andrew.cmu.edu>
> >> Sent: Friday, August 01, 2003 3:38 PM
> >> Subject: Re: case sensitive
> >>
> >>
> >> >
> >> > You need to upgrade to cyrus 2.2 or make a patch.
> >> >
> >> > -Igor
> >> >
> >> > On Fri, 1 Aug 2003, Bartosz Jozwiak wrote:
> >> >
> >> > > Hello,
> >> > >
> >> > > Is it possible to somehow change Cyrus that your login name will not be
> >> case
> >> > > sensitive??
> >> > >
> >> > > I am using Web-Cyradm, Cyrus SASL, Cyrus Imap and Mysql.
> >> > >
> >> > >
> >> > > Bartosz Jozwiak
> >> > >
> >> > >
> >> >
> >> > --
> >> > Igor
> >> >
> >>
> >>
> >
> > --
> > Igor
> >
> >
>
>

-- 
Igor




More information about the Info-cyrus mailing list