[Web-cyradm] RE: Auth Failed in account with upper case character

John Tobias johnjohntobias at msn.com
Fri Nov 3 01:38:58 CET 2006


HI Bjoern,

Thanks for the tip. I added and set to no the lmtp_downcase_rcpt and 
username_tolower. Then I restarted the cyrus, postfix and saslauthd.

I tried to login #cyradm --user 4356Z localhost, the behavior and the error 
was still the same.
saslauthd[3083]: do_auth : auth failure: [user=4356z] [service=imap] 
[realm=] [mech=pam] [reason=PAM auth error]

Anymore idea?

Thanks,

John


>Date: Thu, 02 Nov 2006 11:03:09 +0100
>From: Bjoern Burger <b.burger at buelow-masiak.de>
>Subject: Re: [Web-cyradm] Auth Failed in account with upper case
>	character
>To: web-cyradm at web-cyradm.org
>Message-ID: <4549C25D.2000601 at buelow-masiak.de>
>Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>
>Hi,
>
>John Tobias schrieb:
> > Hello all:
> >
> > I created an account with upper case character on it (e.g. 4356Z). After
> > creation, I tried to login using that account but the authentication
> > failed. Then, I found out the message as shown below.
> >
> > saslauthd[3083]: do_auth : auth failure: [user=4356z] [service=imap]
> > [realm=] [mech=pam] [reason=PAM auth error]
> >
> > The upper case character "Z" in the username was converted to lower case
> > and that was the reason why the authentication failed. My questions are:
> >
> > 1) Why the PAM auth received the username in lower case ("Alpha")
> > character on it, since the username was submitted with an upper case "Z"
> > value?.
> >
> > #cyradm --user 4356Z localhost
> >
> > 2) I need to keep the upper case character format in the username. How
> > do I specify or configure the system to accept a case sensitive 
>username?
>
>Try:
>
>to edit xour imapd.conf:
>
>"# Forcing recipient user to lowercase
># Cyrus 2.2 is case-sensitive.  If all your mail users are in lowercase, it 
>is
># probably a very good idea to set lmtp_downcase_rcpt to true.  This is set 
>by
># default, per RFC2821. This was not set by default in debian versions up 
>to
># and including 2.2.12-4.
>
>lmtp_downcase_rcpt: yes"
>
>Set lmtp_downcase_rcpt to : no
>
>Best Regards,
>
>BB
>
> > Thanks,
> >
> > John
>
>
>------------------------------
>
>_______________________________________________
>This mailing list is hosted and upported
>by bit-heads GmbH | http://www.bit-heads.ch
>_______________________________________________
>Web-cyradm mailing list
>Web-cyradm at web-cyradm.org
>http://www.web-cyradm.org/mailman/listinfo/web-cyradm
>
>
>End of Web-cyradm Digest, Vol 47, Issue 1
>*****************************************

_________________________________________________________________
Stay in touch with old friends and meet new ones with Windows Live Spaces 
http://clk.atdmt.com/MSN/go/msnnkwsp0070000001msn/direct/01/?href=http://spaces.live.com/spacesapi.aspx?wx_action=create&wx_url=/friends.aspx&mkt=en-us



More information about the Web-cyradm mailing list