Home | History | Annotate | Download | only in data
      1 <testcase>
      2 <info>
      3 <keywords>
      4 IMAP
      5 SASL
      6 SASL AUTH NTLM
      7 </keywords>
      8 </info>
      9 
     10 #
     11 # Server-side
     12 <reply>
     13 <servercmd>
     14 AUTH NTLM
     15 REPLY AUTHENTICATE +
     16 REPLY TlRMTVNTUAABAAAABoIIAAAAAAAAAAAAAAAAAAAAAAA= + TlRMTVNTUAACAAAAAgACADAAAAAGgoEAc51AYVDgyNcAAAAAAAAAAG4AbgAyAAAAQ0MCAAQAQwBDAAEAEgBFAEwASQBTAEEAQgBFAFQASAAEABgAYwBjAC4AaQBjAGUAZABlAHYALgBuAHUAAwAsAGUAbABpAHMAYQBiAGUAdABoAC4AYwBjAC4AaQBjAGUAZABlAHYALgBuAHUAAAAAAA==
     17 REPLY TlRMTVNTUAADAAAAGAAYAEAAAACeAJ4AWAAAAAAAAAD2AAAACAAIAPYAAAAIAAgA/gAAAAAAAAAAAAAABoKBAL9LNW5+nkyHZRmyFaL/LJ4xMjM0MjIzNGUCyhgQ9hw6eWAT13EbDa0BAQAAAAAAAACAPtXesZ0BMTIzNDIyMzQAAAAAAgAEAEMAQwABABIARQBMAEkAUwBBAEIARQBUAEgABAAYAGMAYwAuAGkAYwBlAGQAZQB2AC4AbgB1AAMALABlAGwAaQBzAGEAYgBlAHQAaAAuAGMAYwAuAGkAYwBlAGQAZQB2AC4AbgB1AAAAAAAAAAAAdGVzdHVzZXJjdXJsaG9zdA== A002 OK AUTHENTICATE completed
     18 </servercmd>
     19 <data>
     20 From: me@somewhere
     21 To: fake@nowhere
     22 
     23 body
     24 
     25 --
     26   yours sincerely
     27 </data>
     28 </reply>
     29 
     30 #
     31 # Client-side
     32 <client>
     33 <server>
     34 imap
     35 </server>
     36 <features>
     37 NTLM
     38 !SSPI
     39 debug
     40 </features>
     41  <name>
     42 IMAP NTLM authentication
     43  </name>
     44  <setenv>
     45 # we force our own host name, in order to make the test machine independent
     46 CURL_GETHOSTNAME=curlhost
     47 # we try to use the LD_PRELOAD hack, if not a debug build
     48 LD_PRELOAD=%PWD/libtest/.libs/libhostname.so
     49  </setenv>
     50  <command>
     51 'imap://%HOSTIP:%IMAPPORT/822/;UID=1' -u testuser:testpass
     52 </command>
     53 <precheck>
     54 chkhostname curlhost
     55 </precheck>
     56 </client>
     57 
     58 #
     59 # Verify data after the test has been "shot"
     60 <verify>
     61 <protocol>
     62 A001 CAPABILITY
     63 A002 AUTHENTICATE NTLM
     64 TlRMTVNTUAABAAAABoIIAAAAAAAAAAAAAAAAAAAAAAA=
     65 TlRMTVNTUAADAAAAGAAYAEAAAACeAJ4AWAAAAAAAAAD2AAAACAAIAPYAAAAIAAgA/gAAAAAAAAAAAAAABoKBAL9LNW5+nkyHZRmyFaL/LJ4xMjM0MjIzNGUCyhgQ9hw6eWAT13EbDa0BAQAAAAAAAACAPtXesZ0BMTIzNDIyMzQAAAAAAgAEAEMAQwABABIARQBMAEkAUwBBAEIARQBUAEgABAAYAGMAYwAuAGkAYwBlAGQAZQB2AC4AbgB1AAMALABlAGwAaQBzAGEAYgBlAHQAaAAuAGMAYwAuAGkAYwBlAGQAZQB2AC4AbgB1AAAAAAAAAAAAdGVzdHVzZXJjdXJsaG9zdA==
     66 A003 SELECT 822
     67 A004 FETCH 1 BODY[]
     68 A005 LOGOUT
     69 </protocol>
     70 </verify>
     71 </testcase>
     72