xref: /curl/tests/data/test906 (revision 5a41abef)
1<testcase>
2<info>
3<keywords>
4SMTP
5SASL
6SASL AUTH NTLM
7RFC4954
8NTLM
9</keywords>
10</info>
11
12#
13# Server-side
14<reply>
15<servercmd>
16AUTH NTLM
17REPLY AUTH 334 NTLM supported
18REPLY TlRMTVNTUAABAAAABoIIAAAAAAAAAAAAAAAAAAAAAAA= 334 TlRMTVNTUAACAAAAAgACADAAAACGggEAc51AYVDgyNcAAAAAAAAAAG4AbgAyAAAAQ0MCAAQAQwBDAAEAEgBFAEwASQBTAEEAQgBFAFQASAAEABgAYwBjAC4AaQBjAGUAZABlAHYALgBuAHUAAwAsAGUAbABpAHMAYQBiAGUAdABoAC4AYwBjAC4AaQBjAGUAZABlAHYALgBuAHUAAAAAAA==
19REPLY TlRMTVNTUAADAAAAGAAYAEAAAAAYABgAWAAAAAAAAABwAAAACAAIAHAAAAALAAsAeAAAAAAAAAAAAAAAhoIBAFpkQwKRCZFMhjj0tw47wEjKHRHlvzfxQamFcheMuv8v+xeqphEO5V41xRd7R9deOXRlc3R1c2VyV09SS1NUQVRJT04= 235 Authenticated
20</servercmd>
21</reply>
22
23#
24# Client-side
25<client>
26<server>
27smtp
28</server>
29<features>
30NTLM
31SSL
32!SSPI
33</features>
34<name>
35SMTP NTLM authentication
36</name>
37<stdin>
38mail body
39</stdin>
40<command>
41smtp://%HOSTIP:%SMTPPORT/%TESTNUMBER --mail-rcpt recipient@example.com --mail-from sender@example.com -u testuser:testpass -T -
42</command>
43</client>
44
45#
46# Verify data after the test has been "shot"
47<verify>
48<protocol>
49EHLO %TESTNUMBER
50AUTH NTLM
51TlRMTVNTUAABAAAABoIIAAAAAAAAAAAAAAAAAAAAAAA=
52TlRMTVNTUAADAAAAGAAYAEAAAAAYABgAWAAAAAAAAABwAAAACAAIAHAAAAALAAsAeAAAAAAAAAAAAAAAhoIBAFpkQwKRCZFMhjj0tw47wEjKHRHlvzfxQamFcheMuv8v+xeqphEO5V41xRd7R9deOXRlc3R1c2VyV09SS1NUQVRJT04=
53MAIL FROM:<sender@example.com>
54RCPT TO:<recipient@example.com>
55DATA
56QUIT
57</protocol>
58<upload>
59mail body
60.
61</upload>
62</verify>
63</testcase>
64