[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-bugs-dist
Subject:    [Bug 249992] Can't log in to IMAP server running dovecot 2.0.1
From:       Rob Wouters <kde () rob-wouters ! nl>
Date:       2011-08-22 18:41:14
Message-ID: E1QvZQw-0005NZ-St () bugs ! kde ! org
[Download RAW message or body]

https://bugs.kde.org/show_bug.cgi?id=249992


Rob Wouters <kde@rob-wouters.nl> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |kde@rob-wouters.nl




--- Comment #7 from Rob Wouters <kde rob-wouters nl>  2011-08-22 18:41:14 ---
Patch against kdepimlibs that fixes this bug for me:

--- kimap/loginjob.cpp.orig     2011-08-22 20:27:30.526267893 +0200
+++ kimap/loginjob.cpp  2011-08-22 20:38:11.555674184 +0200
@@ -324,7 +324,9 @@
     }
   } else if ( response.content.size() >= 2 ) {
     if ( d->authState == LoginJobPrivate::Authenticate ) {
-      if
(!d->answerChallenge(QByteArray::fromBase64(response.content[1].toString()))) {
+      //if we're receiving post-login capabilities, ignore them here
+      //capabilities are being set by capabilitiesjob after
+      if (response.content[1].toString()!="CAPABILITY" &&
!d->answerChallenge(QByteArray::fromBase64(response.content[1].toString()))) {
         emitResult(); //error, we're done
       }
     } else if ( response.content[1].toString()=="CAPABILITY" ) {

Please test and let me know if it works and doesn't cause regressions.

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic