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