2013-11-13 04:02:20 -05:00
|
|
|
<testcase>
|
|
|
|
<info>
|
|
|
|
<keywords>
|
|
|
|
IMAP
|
2014-03-30 06:20:19 -04:00
|
|
|
SASL
|
2014-03-30 07:01:15 -04:00
|
|
|
SASL AUTH NTLM
|
2014-03-15 06:13:13 -04:00
|
|
|
SASL-IR
|
2013-11-13 04:02:20 -05:00
|
|
|
</keywords>
|
|
|
|
</info>
|
|
|
|
|
|
|
|
#
|
|
|
|
# Server-side
|
|
|
|
<reply>
|
|
|
|
<servercmd>
|
|
|
|
AUTH NTLM
|
|
|
|
CAPA SASL-IR
|
|
|
|
REPLY AUTHENTICATE + TlRMTVNTUAACAAAAAgACADAAAAAGgoEAc51AYVDgyNcAAAAAAAAAAG4AbgAyAAAAQ0MCAAQAQwBDAAEAEgBFAEwASQBTAEEAQgBFAFQASAAEABgAYwBjAC4AaQBjAGUAZABlAHYALgBuAHUAAwAsAGUAbABpAHMAYQBiAGUAdABoAC4AYwBjAC4AaQBjAGUAZABlAHYALgBuAHUAAAAAAA==
|
2017-05-08 17:23:29 -04:00
|
|
|
REPLY TlRMTVNTUAADAAAAGAAYAEAAAACeAJ4AWAAAAAAAAAD2AAAACAAIAPYAAAAIAAgA/gAAAAAAAAAAAAAABoKBAMOv20GsURsat8gdH/RfnYI0MzIxNTMyMeCdd8AzFZLZ/N1ujmilmCcBAQAAAAAAAACAPtXesZ0BNDMyMTUzMjEAAAAAAgAEAEMAQwABABIARQBMAEkAUwBBAEIARQBUAEgABAAYAGMAYwAuAGkAYwBlAGQAZQB2AC4AbgB1AAMALABlAGwAaQBzAGEAYgBlAHQAaAAuAGMAYwAuAGkAYwBlAGQAZQB2AC4AbgB1AAAAAAAAAAAAdGVzdHVzZXJjdXJsaG9zdA== A002 OK AUTHENTICATE completed
|
2013-11-13 04:02:20 -05:00
|
|
|
</servercmd>
|
|
|
|
<data>
|
|
|
|
From: me@somewhere
|
|
|
|
To: fake@nowhere
|
|
|
|
|
|
|
|
body
|
|
|
|
|
|
|
|
--
|
|
|
|
yours sincerely
|
|
|
|
</data>
|
|
|
|
</reply>
|
|
|
|
|
|
|
|
#
|
|
|
|
# Client-side
|
|
|
|
<client>
|
|
|
|
<server>
|
|
|
|
imap
|
|
|
|
</server>
|
|
|
|
<features>
|
|
|
|
NTLM
|
2013-12-28 15:22:22 -05:00
|
|
|
!SSPI
|
2014-06-11 13:12:48 -04:00
|
|
|
debug
|
2013-11-13 04:02:20 -05:00
|
|
|
</features>
|
|
|
|
<name>
|
|
|
|
IMAP NTLM authentication with initial response
|
|
|
|
</name>
|
|
|
|
<setenv>
|
|
|
|
# we force our own host name, in order to make the test machine independent
|
|
|
|
CURL_GETHOSTNAME=curlhost
|
|
|
|
# we try to use the LD_PRELOAD hack, if not a debug build
|
|
|
|
LD_PRELOAD=%PWD/libtest/.libs/libhostname.so
|
|
|
|
</setenv>
|
|
|
|
<command>
|
|
|
|
'imap://%HOSTIP:%IMAPPORT/827/;UID=1' -u testuser:testpass
|
|
|
|
</command>
|
|
|
|
<precheck>
|
|
|
|
chkhostname curlhost
|
|
|
|
</precheck>
|
|
|
|
</client>
|
|
|
|
|
|
|
|
#
|
|
|
|
# Verify data after the test has been "shot"
|
|
|
|
<verify>
|
|
|
|
<protocol>
|
|
|
|
A001 CAPABILITY
|
|
|
|
A002 AUTHENTICATE NTLM TlRMTVNTUAABAAAABoIIAAAAAAAAAAAAAAAAAAAAAAA=
|
2017-05-08 17:23:29 -04:00
|
|
|
TlRMTVNTUAADAAAAGAAYAEAAAACeAJ4AWAAAAAAAAAD2AAAACAAIAPYAAAAIAAgA/gAAAAAAAAAAAAAABoKBAMOv20GsURsat8gdH/RfnYI0MzIxNTMyMeCdd8AzFZLZ/N1ujmilmCcBAQAAAAAAAACAPtXesZ0BNDMyMTUzMjEAAAAAAgAEAEMAQwABABIARQBMAEkAUwBBAEIARQBUAEgABAAYAGMAYwAuAGkAYwBlAGQAZQB2AC4AbgB1AAMALABlAGwAaQBzAGEAYgBlAHQAaAAuAGMAYwAuAGkAYwBlAGQAZQB2AC4AbgB1AAAAAAAAAAAAdGVzdHVzZXJjdXJsaG9zdA==
|
2013-11-13 04:02:20 -05:00
|
|
|
A003 SELECT 827
|
|
|
|
A004 FETCH 1 BODY[]
|
|
|
|
A005 LOGOUT
|
|
|
|
</protocol>
|
|
|
|
</verify>
|
|
|
|
</testcase>
|