test873 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. <testcase>
  2. <info>
  3. <keywords>
  4. POP3
  5. SASL
  6. SASL AUTH NTLM
  7. SASL-IR
  8. RFC1734
  9. RFC5034
  10. NTLM
  11. </keywords>
  12. </info>
  13. #
  14. # Server-side
  15. <reply>
  16. <servercmd>
  17. AUTH NTLM
  18. REPLY AUTH + TlRMTVNTUAACAAAAAgACADAAAACGggEAc51AYVDgyNcAAAAAAAAAAG4AbgAyAAAAQ0MCAAQAQwBDAAEAEgBFAEwASQBTAEEAQgBFAFQASAAEABgAYwBjAC4AaQBjAGUAZABlAHYALgBuAHUAAwAsAGUAbABpAHMAYQBiAGUAdABoAC4AYwBjAC4AaQBjAGUAZABlAHYALgBuAHUAAAAAAA==
  19. REPLY TlRMTVNTUAADAAAAGAAYAEAAAAAYABgAWAAAAAAAAABwAAAACAAIAHAAAAALAAsAeAAAAAAAAAAAAAAAhoIBAFpkQwKRCZFMhjj0tw47wEjKHRHlvzfxQamFcheMuv8v+xeqphEO5V41xRd7R9deOXRlc3R1c2VyV09SS1NUQVRJT04= +OK Login successful
  20. </servercmd>
  21. <data>
  22. From: me@somewhere
  23. To: fake@nowhere
  24. body
  25. --
  26. yours sincerely
  27. </data>
  28. </reply>
  29. #
  30. # Client-side
  31. <client>
  32. <server>
  33. pop3
  34. </server>
  35. <features>
  36. NTLM
  37. SSL
  38. !SSPI
  39. </features>
  40. <name>
  41. POP3 NTLM authentication with initial response
  42. </name>
  43. <command>
  44. pop3://%HOSTIP:%POP3PORT/%TESTNUMBER -u testuser:testpass --sasl-ir
  45. </command>
  46. </client>
  47. #
  48. # Verify data after the test has been "shot"
  49. <verify>
  50. <protocol>
  51. CAPA
  52. AUTH NTLM TlRMTVNTUAABAAAABoIIAAAAAAAAAAAAAAAAAAAAAAA=
  53. TlRMTVNTUAADAAAAGAAYAEAAAAAYABgAWAAAAAAAAABwAAAACAAIAHAAAAALAAsAeAAAAAAAAAAAAAAAhoIBAFpkQwKRCZFMhjj0tw47wEjKHRHlvzfxQamFcheMuv8v+xeqphEO5V41xRd7R9deOXRlc3R1c2VyV09SS1NUQVRJT04=
  54. RETR %TESTNUMBER
  55. QUIT
  56. </protocol>
  57. </verify>
  58. </testcase>