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