1<testcase> 2<info> 3<keywords> 4POP3 5SASL 6SASL AUTH NTLM 7SASL CANCELLATION 8RFC1734 9RFC5034 10</keywords> 11</info> 12 13# 14# Server-side 15<reply> 16<servercmd> 17AUTH NTLM 18REPLY AUTH + 19REPLY TlRMTVNTUAABAAAABoIIAAAAAAAAAAAAAAAAAAAAAAA= + Rubbish 20REPLY * -ERR AUTH exchange cancelled by client 21</servercmd> 22</reply> 23 24# 25# Client-side 26<client> 27<server> 28pop3 29</server> 30<features> 31NTLM 32!SSPI 33</features> 34 <name> 35POP3 NTLM graceful cancellation 36 </name> 37 <setenv> 38# we force our own host name, in order to make the test machine independent 39CURL_GETHOSTNAME=curlhost 40# we try to use the LD_PRELOAD hack, if not a debug build 41LD_PRELOAD=%PWD/libtest/.libs/libhostname.so 42 </setenv> 43 <command> 44pop3://%HOSTIP:%POP3PORT/877 -u testuser:testpass 45</command> 46<precheck> 47chkhostname 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> 5667 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> 62CAPA 63AUTH NTLM 64TlRMTVNTUAABAAAABoIIAAAAAAAAAAAAAAAAAAAAAAA= 65* 66</protocol> 67</verify> 68</testcase> 69