Annotation of embedaddon/curl/tests/data/test936, revision 1.1.1.1
1.1 misho 1: <testcase>
2: <info>
3: <keywords>
4: SMTP
5: SASL
6: SASL AUTH NTLM
7: SASL AUTH PLAIN
8: SASL DOWNGRADE
9: RFC4954
10: </keywords>
11: </info>
12:
13: #
14: # Server-side
15: <reply>
16: <servercmd>
17: AUTH NTLM PLAIN
18: REPLY "AUTH NTLM" 334 NTLM supported
19: REPLY TlRMTVNTUAABAAAABoIIAAAAAAAAAAAAAAAAAAAAAAA= 334 Rubbish
20: REPLY * 501 AUTH exchange cancelled by client
21: REPLY "AUTH PLAIN" 334 PLAIN supported
22: REPLY AHVzZXIAc2VjcmV0 235 Authenticated
23: </servercmd>
24: </reply>
25:
26: #
27: # Client-side
28: <client>
29: <server>
30: smtp
31: </server>
32: <features>
33: NTLM
34: SSL
35: !SSPI
36: </features>
37: <name>
38: SMTP NTLM authentication with SASL downgrade
39: </name>
40: <stdin>
41: mail body
42: </stdin>
43: <setenv>
44: # we force our own host name, in order to make the test machine independent
45: CURL_GETHOSTNAME=curlhost
46: # we try to use the LD_PRELOAD hack, if not a debug build
47: LD_PRELOAD=%PWD/libtest/.libs/libhostname.so
48: </setenv>
49: <command>
50: smtp://%HOSTIP:%SMTPPORT/936 --mail-rcpt recipient@example.com --mail-from sender@example.com -u user:secret -T -
51: </command>
52: <precheck>
53: chkhostname curlhost
54: </precheck>
55: </client>
56:
57: #
58: # Verify data after the test has been "shot"
59: <verify>
60: <protocol>
61: EHLO 936
62: AUTH NTLM
63: TlRMTVNTUAABAAAABoIIAAAAAAAAAAAAAAAAAAAAAAA=
64: *
65: AUTH PLAIN
66: AHVzZXIAc2VjcmV0
67: MAIL FROM:<sender@example.com>
68: RCPT TO:<recipient@example.com>
69: DATA
70: QUIT
71: </protocol>
72: <upload>
73: mail body
74: .
75: </upload>
76: </verify>
77: </testcase>
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>