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