test877 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. <testcase>
  2. <info>
  3. <keywords>
  4. POP3
  5. SASL
  6. SASL AUTH NTLM
  7. SASL CANCELLATION
  8. RFC1734
  9. RFC5034
  10. </keywords>
  11. </info>
  12. #
  13. # Server-side
  14. <reply>
  15. <servercmd>
  16. AUTH NTLM
  17. REPLY AUTH +
  18. REPLY TlRMTVNTUAABAAAABoIIAAAAAAAAAAAAAAAAAAAAAAA= + Rubbish
  19. REPLY * -ERR AUTH exchange cancelled by client
  20. </servercmd>
  21. </reply>
  22. #
  23. # Client-side
  24. <client>
  25. <server>
  26. pop3
  27. </server>
  28. <features>
  29. NTLM
  30. SSL
  31. !SSPI
  32. </features>
  33. <name>
  34. POP3 NTLM graceful cancellation
  35. </name>
  36. <setenv>
  37. # we force our own host name, in order to make the test machine independent
  38. CURL_GETHOSTNAME=curlhost
  39. # we try to use the LD_PRELOAD hack, if not a debug build
  40. LD_PRELOAD=%PWD/libtest/.libs/libhostname.so
  41. </setenv>
  42. <command>
  43. pop3://%HOSTIP:%POP3PORT/%TESTNUMBER -u testuser:testpass
  44. </command>
  45. <precheck>
  46. chkhostname curlhost
  47. </precheck>
  48. </client>
  49. #
  50. # Verify data after the test has been "shot"
  51. <verify>
  52. # 67 - CURLE_LOGIN_DENIED
  53. <errorcode>
  54. 67
  55. </errorcode>
  56. #
  57. # The multi interface considers a broken "CONNECT" as a prematurely broken
  58. # transfer and such a connection will not get a "QUIT"
  59. <protocol>
  60. CAPA
  61. AUTH NTLM
  62. TlRMTVNTUAABAAAABoIIAAAAAAAAAAAAAAAAAAAAAAA=
  63. *
  64. </protocol>
  65. </verify>
  66. </testcase>