xref: /aosp_15_r20/external/curl/tests/data/test936 (revision 6236dae45794135f37c4eb022389c904c8b0090d)
1*6236dae4SAndroid Build Coastguard Worker<testcase>
2*6236dae4SAndroid Build Coastguard Worker<info>
3*6236dae4SAndroid Build Coastguard Worker<keywords>
4*6236dae4SAndroid Build Coastguard WorkerSMTP
5*6236dae4SAndroid Build Coastguard WorkerSASL
6*6236dae4SAndroid Build Coastguard WorkerSASL AUTH NTLM
7*6236dae4SAndroid Build Coastguard WorkerSASL AUTH PLAIN
8*6236dae4SAndroid Build Coastguard WorkerSASL DOWNGRADE
9*6236dae4SAndroid Build Coastguard WorkerRFC4954
10*6236dae4SAndroid Build Coastguard Worker</keywords>
11*6236dae4SAndroid Build Coastguard Worker</info>
12*6236dae4SAndroid Build Coastguard Worker
13*6236dae4SAndroid Build Coastguard Worker#
14*6236dae4SAndroid Build Coastguard Worker# Server-side
15*6236dae4SAndroid Build Coastguard Worker<reply>
16*6236dae4SAndroid Build Coastguard Worker<servercmd>
17*6236dae4SAndroid Build Coastguard WorkerAUTH NTLM PLAIN
18*6236dae4SAndroid Build Coastguard WorkerREPLY "AUTH NTLM" 334 NTLM supported
19*6236dae4SAndroid Build Coastguard WorkerREPLY TlRMTVNTUAABAAAABoIIAAAAAAAAAAAAAAAAAAAAAAA= 334 Rubbish
20*6236dae4SAndroid Build Coastguard WorkerREPLY * 501 AUTH exchange cancelled by client
21*6236dae4SAndroid Build Coastguard WorkerREPLY "AUTH PLAIN" 334 PLAIN supported
22*6236dae4SAndroid Build Coastguard WorkerREPLY AHVzZXIAc2VjcmV0 235 Authenticated
23*6236dae4SAndroid Build Coastguard Worker</servercmd>
24*6236dae4SAndroid Build Coastguard Worker</reply>
25*6236dae4SAndroid Build Coastguard Worker
26*6236dae4SAndroid Build Coastguard Worker#
27*6236dae4SAndroid Build Coastguard Worker# Client-side
28*6236dae4SAndroid Build Coastguard Worker<client>
29*6236dae4SAndroid Build Coastguard Worker<server>
30*6236dae4SAndroid Build Coastguard Workersmtp
31*6236dae4SAndroid Build Coastguard Worker</server>
32*6236dae4SAndroid Build Coastguard Worker<features>
33*6236dae4SAndroid Build Coastguard WorkerNTLM
34*6236dae4SAndroid Build Coastguard WorkerSSL
35*6236dae4SAndroid Build Coastguard Worker!SSPI
36*6236dae4SAndroid Build Coastguard Worker</features>
37*6236dae4SAndroid Build Coastguard Worker<name>
38*6236dae4SAndroid Build Coastguard WorkerSMTP NTLM authentication with SASL downgrade
39*6236dae4SAndroid Build Coastguard Worker</name>
40*6236dae4SAndroid Build Coastguard Worker<stdin>
41*6236dae4SAndroid Build Coastguard Workermail body
42*6236dae4SAndroid Build Coastguard Worker</stdin>
43*6236dae4SAndroid Build Coastguard Worker<command>
44*6236dae4SAndroid Build Coastguard Workersmtp://%HOSTIP:%SMTPPORT/%TESTNUMBER --mail-rcpt [email protected] --mail-from [email protected] -u user:secret -T -
45*6236dae4SAndroid Build Coastguard Worker</command>
46*6236dae4SAndroid Build Coastguard Worker</client>
47*6236dae4SAndroid Build Coastguard Worker
48*6236dae4SAndroid Build Coastguard Worker#
49*6236dae4SAndroid Build Coastguard Worker# Verify data after the test has been "shot"
50*6236dae4SAndroid Build Coastguard Worker<verify>
51*6236dae4SAndroid Build Coastguard Worker<protocol>
52*6236dae4SAndroid Build Coastguard WorkerEHLO %TESTNUMBER
53*6236dae4SAndroid Build Coastguard WorkerAUTH NTLM
54*6236dae4SAndroid Build Coastguard WorkerTlRMTVNTUAABAAAABoIIAAAAAAAAAAAAAAAAAAAAAAA=
55*6236dae4SAndroid Build Coastguard Worker*
56*6236dae4SAndroid Build Coastguard WorkerAUTH PLAIN
57*6236dae4SAndroid Build Coastguard WorkerAHVzZXIAc2VjcmV0
58*6236dae4SAndroid Build Coastguard WorkerMAIL FROM:<[email protected]>
59*6236dae4SAndroid Build Coastguard WorkerRCPT TO:<[email protected]>
60*6236dae4SAndroid Build Coastguard WorkerDATA
61*6236dae4SAndroid Build Coastguard WorkerQUIT
62*6236dae4SAndroid Build Coastguard Worker</protocol>
63*6236dae4SAndroid Build Coastguard Worker<upload>
64*6236dae4SAndroid Build Coastguard Workermail body
65*6236dae4SAndroid Build Coastguard Worker.
66*6236dae4SAndroid Build Coastguard Worker</upload>
67*6236dae4SAndroid Build Coastguard Worker</verify>
68*6236dae4SAndroid Build Coastguard Worker</testcase>
69