Allow PLAIN login cyrus 2.2.12

Manel Gimeno Zaragozá magiza83 at hotmail.com
Mon Feb 13 06:18:21 EST 2012


Hello,

I'm trying to migrate mailbox from "cyrus-imapd-2.2.12-19" to "cyrus-imapd-2.4.13-1.el6.x86_64" using imapsync. 

The login is through ldap but the problem is that I can not login through admin user to the cyrus old version (2.2.12). It shows me the following error:

    "Error login: [192.168.1.5] with user [test-adm] auth [PLAIN]: 2 NO encryption needed to use mechanism"

When I try a imtest on the old version I get:
#imtest -m login 192.168.1.5 -a test-adm
    S: * OK Cyrus IMAP4 v2.2.12-Invoca-RPM-2.2.12-19 server ready
    C: C01 CAPABILITY
    S: * CAPABILITY IMAP4 IMAP4rev1 ACL QUOTA LITERAL+ MAILBOX-REFERRALS NAMESPACE UIDPLUS ID NO_ATOMIC_RENAME UNSELECT CHILDREN MULTIAPPEND BINARY SORT THREAD=ORDEREDSUBJECT THREAD=REFERENCES ANNOTATEMORE IDLE LISTEXT LIST-SUBSCRIBED X-NETSCAPE
    S: C01 OK Completed
    Please enter your password:
    C: L01 LOGIN test-adm {7}
    S: + go ahead
    C: <omitted>
    S: L01 NO Login failed: authentication failure
    Authentication failed. generic failure
    Security strength factor: 0
    
I've created a test environment and there I have no problems as cyrus i allowing auth plain.
#imtest -m plain 192.168.1.6 -a test-adm
    S: * OK [CAPABILITY IMAP4rev1 LITERAL+ ID ENABLE AUTH=PLAIN SASL-IR] cyrus3-test Cyrus IMAP v2.4.13-Invoca-RPM-2.4.13-1.el6 server ready
    
I've tried to configure old cyrus with the same parameters but it doesn't work. I've added the following line to imapd.conf but nothing change, I get the same response without AUTH=PLAIN
    sasl_mech_list: PLAIN
    
I don't know if I need to force plain login in saslauthd.conf as well, or if there is some parameter that I should specify because in old versions it's needed.

Thanks.

Manel Gimeno Zaragoza
magiza83 at hotmail.com
 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.andrew.cmu.edu/pipermail/info-cyrus/attachments/20120213/1b1175e5/attachment.html 


More information about the Info-cyrus mailing list