Red Hat Bugzilla – Bug 1256276
curl: imap GSSAPI authentication does not work
Last modified: 2015-09-10 16:21:34 EDT
Description of problem:
An attempt to authenticate to an IMAP server using GSSAPI fails with "Unexpected continuation response". Verbose mode output suggests curl is unable to handle server response to the AUTHENTICATE GSSAPI:
$ curl -v --negotiate --user : 'imaps://imap.server/'
< * OK IMAP4 ready
> A001 CAPABILITY
< * CAPABILITY ACL BINARY CATENATE CHILDREN CONDSTORE ENABLE ESEARCH ID IDLE IMAP4rev1 LIST-EXTENDED LITERAL+ MULTIAPPEND NAMESPACE QUOTA RIGHTS=ektx SASL-IR SEARCHRES UIDPLUS UNSELECT WITHIN ESORT I18NLEVEL=1 SORT THREAD=ORDEREDSUBJECT LIST-STATUS XLIST AUTH=PLAIN AUTH=GSSAPI
< A001 OK completed
> A002 AUTHENTICATE GSSAPI <<base64 encoded authentication data>>
< + <<base64 encoded data from server>>
* Unexpected continuation response
* Closing connection 0
curl: (8) Unexpected continuation response
curl may be expecting response starting with A002 when it receives a response starting with +.
curl-7.40.0-6.fc22 has been submitted as an update to Fedora 22. https://bodhi.fedoraproject.org/updates/FEDORA-2015-14145
curl-7.40.0-6.fc22 has been pushed to the Fedora 22 testing repository. If problems still persist, please make note of it in this bug report.\nIf you want to test the update, you can install it with \n su -c 'yum --enablerepo=updates-testing update curl'. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2015-14145
curl-7.40.0-6.fc22 has been pushed to the Fedora 22 stable repository. If problems still persist, please make note of it in this bug report.