test877 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  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. !SSPI
  31. </features>
  32. <name>
  33. POP3 NTLM graceful cancellation
  34. </name>
  35. <setenv>
  36. # we force our own host name, in order to make the test machine independent
  37. CURL_GETHOSTNAME=curlhost
  38. # we try to use the LD_PRELOAD hack, if not a debug build
  39. LD_PRELOAD=%PWD/libtest/.libs/libhostname.so
  40. </setenv>
  41. <command>
  42. pop3://%HOSTIP:%POP3PORT/877 -u testuser:testpass
  43. </command>
  44. <precheck>
  45. chkhostname curlhost
  46. </precheck>
  47. </client>
  48. #
  49. # Verify data after the test has been "shot"
  50. <verify>
  51. # 67 - CURLE_LOGIN_DENIED
  52. <errorcode>
  53. 67
  54. </errorcode>
  55. #
  56. # The multi interface considers a broken "CONNECT" as a prematurely broken
  57. # transfer and such a connection will not get a "QUIT"
  58. <protocol>
  59. CAPA
  60. AUTH NTLM
  61. TlRMTVNTUAABAAAABoIIAAAAAAAAAAAAAAAAAAAAAAA=
  62. *
  63. </protocol>
  64. </verify>
  65. </testcase>