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