Return to test921 CVS log | Up to [ELWIX - Embedded LightWeight unIX -] / embedaddon / curl / tests / data |
1.1 ! misho 1: <testcase> ! 2: <info> ! 3: <keywords> ! 4: SMTP ! 5: SASL ! 6: SASL AUTH NTLM ! 7: SASL-IR ! 8: RFC4954 ! 9: </keywords> ! 10: </info> ! 11: ! 12: # ! 13: # Server-side ! 14: <reply> ! 15: <servercmd> ! 16: AUTH NTLM ! 17: REPLY AUTH 334 TlRMTVNTUAACAAAAAgACADAAAACGggEAc51AYVDgyNcAAAAAAAAAAG4AbgAyAAAAQ0MCAAQAQwBDAAEAEgBFAEwASQBTAEEAQgBFAFQASAAEABgAYwBjAC4AaQBjAGUAZABlAHYALgBuAHUAAwAsAGUAbABpAHMAYQBiAGUAdABoAC4AYwBjAC4AaQBjAGUAZABlAHYALgBuAHUAAAAAAA== ! 18: REPLY TlRMTVNTUAADAAAAGAAYAEAAAAAYABgAWAAAAAAAAABwAAAACAAIAHAAAAAIAAgAeAAAAAAAAAAAAAAAhoIBADQzMjE1MzIxAAAAAAAAAAAAAAAAAAAAADj3hs3u3j0kgJqCrLM+74BmaoNHDfIJjHRlc3R1c2VyY3VybGhvc3Q= 235 Authenticated ! 19: </servercmd> ! 20: </reply> ! 21: ! 22: # ! 23: # Client-side ! 24: <client> ! 25: <server> ! 26: smtp ! 27: </server> ! 28: <features> ! 29: NTLM ! 30: SSL ! 31: !SSPI ! 32: debug ! 33: </features> ! 34: <name> ! 35: SMTP NTLM authentication with initial response ! 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: <stdin> ! 44: mail body ! 45: </stdin> ! 46: <command> ! 47: smtp://%HOSTIP:%SMTPPORT/921 --mail-rcpt recipient@example.com --mail-from sender@example.com -u testuser:testpass --sasl-ir -T - ! 48: </command> ! 49: <precheck> ! 50: chkhostname curlhost ! 51: </precheck> ! 52: </client> ! 53: ! 54: # ! 55: # Verify data after the test has been "shot" ! 56: <verify> ! 57: <protocol> ! 58: EHLO 921 ! 59: AUTH NTLM TlRMTVNTUAABAAAABoIIAAAAAAAAAAAAAAAAAAAAAAA= ! 60: TlRMTVNTUAADAAAAGAAYAEAAAAAYABgAWAAAAAAAAABwAAAACAAIAHAAAAAIAAgAeAAAAAAAAAAAAAAAhoIBADQzMjE1MzIxAAAAAAAAAAAAAAAAAAAAADj3hs3u3j0kgJqCrLM+74BmaoNHDfIJjHRlc3R1c2VyY3VybGhvc3Q= ! 61: MAIL FROM:<sender@example.com> ! 62: RCPT TO:<recipient@example.com> ! 63: DATA ! 64: QUIT ! 65: </protocol> ! 66: <upload> ! 67: mail body ! 68: . ! 69: </upload> ! 70: </verify> ! 71: </testcase>