test830 845 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. <testcase>
  2. <info>
  3. <keywords>
  4. IMAP
  5. SASL
  6. SASL AUTH CRAM-MD5
  7. SASL CANCELLATION
  8. RFC2195
  9. </keywords>
  10. </info>
  11. #
  12. # Server-side
  13. <reply>
  14. <servercmd>
  15. AUTH CRAM-MD5
  16. CAPA LOGINDISABLED
  17. REPLY AUTHENTICATE + Rubbish
  18. REPLY * A002 NO AUTH exchange cancelled by client
  19. </servercmd>
  20. </reply>
  21. #
  22. # Client-side
  23. <client>
  24. <server>
  25. imap
  26. </server>
  27. <features>
  28. crypto
  29. </features>
  30. <name>
  31. IMAP CRAM-MD5 graceful cancellation
  32. </name>
  33. <command>
  34. 'imap://%HOSTIP:%IMAPPORT/%TESTNUMBER/;MAILINDEX=1' -u user:secret
  35. </command>
  36. </client>
  37. #
  38. # Verify data after the test has been "shot"
  39. <verify>
  40. # 67 - CURLE_LOGIN_DENIED
  41. <errorcode>
  42. 67
  43. </errorcode>
  44. #
  45. # The multi interface considers a broken "CONNECT" as a prematurely broken
  46. # transfer and such a connection will not get a "LOGOUT"
  47. <protocol>
  48. A001 CAPABILITY
  49. A002 AUTHENTICATE CRAM-MD5
  50. *
  51. </protocol>
  52. </verify>
  53. </testcase>