Return to test822 CVS log | Up to [ELWIX - Embedded LightWeight unIX -] / embedaddon / curl / tests / data |
1.1 ! misho 1: <testcase> ! 2: <info> ! 3: <keywords> ! 4: IMAP ! 5: SASL ! 6: SASL AUTH NTLM ! 7: </keywords> ! 8: </info> ! 9: ! 10: # ! 11: # Server-side ! 12: <reply> ! 13: <servercmd> ! 14: AUTH NTLM ! 15: REPLY AUTHENTICATE + ! 16: REPLY TlRMTVNTUAABAAAABoIIAAAAAAAAAAAAAAAAAAAAAAA= + TlRMTVNTUAACAAAAAgACADAAAACGggEAc51AYVDgyNcAAAAAAAAAAG4AbgAyAAAAQ0MCAAQAQwBDAAEAEgBFAEwASQBTAEEAQgBFAFQASAAEABgAYwBjAC4AaQBjAGUAZABlAHYALgBuAHUAAwAsAGUAbABpAHMAYQBiAGUAdABoAC4AYwBjAC4AaQBjAGUAZABlAHYALgBuAHUAAAAAAA== ! 17: REPLY TlRMTVNTUAADAAAAGAAYAEAAAAAYABgAWAAAAAAAAABwAAAACAAIAHAAAAAIAAgAeAAAAAAAAAAAAAAAhoIBADQzMjE1MzIxAAAAAAAAAAAAAAAAAAAAADj3hs3u3j0kgJqCrLM+74BmaoNHDfIJjHRlc3R1c2VyY3VybGhvc3Q= A002 OK AUTHENTICATE completed ! 18: </servercmd> ! 19: <data> ! 20: From: me@somewhere ! 21: To: fake@nowhere ! 22: ! 23: body ! 24: ! 25: -- ! 26: yours sincerely ! 27: </data> ! 28: </reply> ! 29: ! 30: # ! 31: # Client-side ! 32: <client> ! 33: <server> ! 34: imap ! 35: </server> ! 36: <features> ! 37: NTLM ! 38: SSL ! 39: !SSPI ! 40: debug ! 41: </features> ! 42: <name> ! 43: IMAP NTLM authentication ! 44: </name> ! 45: <setenv> ! 46: # we force our own host name, in order to make the test machine independent ! 47: CURL_GETHOSTNAME=curlhost ! 48: # we try to use the LD_PRELOAD hack, if not a debug build ! 49: LD_PRELOAD=%PWD/libtest/.libs/libhostname.so ! 50: </setenv> ! 51: <command> ! 52: 'imap://%HOSTIP:%IMAPPORT/822/;MAILINDEX=1' -u testuser:testpass ! 53: </command> ! 54: <precheck> ! 55: chkhostname curlhost ! 56: </precheck> ! 57: </client> ! 58: ! 59: # ! 60: # Verify data after the test has been "shot" ! 61: <verify> ! 62: <protocol> ! 63: A001 CAPABILITY ! 64: A002 AUTHENTICATE NTLM ! 65: TlRMTVNTUAABAAAABoIIAAAAAAAAAAAAAAAAAAAAAAA= ! 66: TlRMTVNTUAADAAAAGAAYAEAAAAAYABgAWAAAAAAAAABwAAAACAAIAHAAAAAIAAgAeAAAAAAAAAAAAAAAhoIBADQzMjE1MzIxAAAAAAAAAAAAAAAAAAAAADj3hs3u3j0kgJqCrLM+74BmaoNHDfIJjHRlc3R1c2VyY3VybGhvc3Q= ! 67: A003 SELECT 822 ! 68: A004 FETCH 1 BODY[] ! 69: A005 LOGOUT ! 70: </protocol> ! 71: </verify> ! 72: </testcase>