File:  [ELWIX - Embedded LightWeight unIX -] / embedaddon / curl / tests / data / test906
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs - revision graph
Wed Jun 3 10:01:16 2020 UTC (5 years ago) by misho
Branches: curl, MAIN
CVS tags: v7_70_0p4, HEAD
curl

    1: <testcase>
    2: <info>
    3: <keywords>
    4: SMTP
    5: SASL
    6: SASL AUTH NTLM
    7: RFC4954
    8: </keywords>
    9: </info>
   10: 
   11: #
   12: # Server-side
   13: <reply>
   14: <servercmd>
   15: AUTH NTLM
   16: REPLY AUTH 334 NTLM supported
   17: REPLY TlRMTVNTUAABAAAABoIIAAAAAAAAAAAAAAAAAAAAAAA= 334 TlRMTVNTUAACAAAAAgACADAAAACGggEAc51AYVDgyNcAAAAAAAAAAG4AbgAyAAAAQ0MCAAQAQwBDAAEAEgBFAEwASQBTAEEAQgBFAFQASAAEABgAYwBjAC4AaQBjAGUAZABlAHYALgBuAHUAAwAsAGUAbABpAHMAYQBiAGUAdABoAC4AYwBjAC4AaQBjAGUAZABlAHYALgBuAHUAAAAAAA==
   18: REPLY TlRMTVNTUAADAAAAGAAYAEAAAAAYABgAWAAAAAAAAABwAAAACAAIAHAAAAAIAAgAeAAAAAAAAAAAAAAAhoIBADQzMjE1MzIxAAAAAAAAAAAAAAAAAAAAADj3hs3u3j0kgJqCrLM+74BmaoNHDfIJjHRlc3R1c2VyY3VybGhvc3Q= 235 Authenticated
   19: </servercmd>
   20: </reply>
   21: 
   22: #
   23: # Client-side
   24: <client>
   25: <server>
   26: smtp
   27: </server>
   28: <features>
   29: NTLM
   30: SSL
   31: !SSPI
   32: debug
   33: </features>
   34:  <name>
   35: SMTP NTLM authentication
   36:  </name>
   37:  <setenv>
   38: # we force our own host name, in order to make the test machine independent
   39: CURL_GETHOSTNAME=curlhost
   40: # we try to use the LD_PRELOAD hack, if not a debug build
   41: LD_PRELOAD=%PWD/libtest/.libs/libhostname.so
   42:  </setenv>
   43: <stdin>
   44: mail body
   45: </stdin>
   46:  <command>
   47: smtp://%HOSTIP:%SMTPPORT/906 --mail-rcpt recipient@example.com --mail-from sender@example.com -u testuser:testpass -T -
   48: </command>
   49: <precheck>
   50: chkhostname curlhost
   51: </precheck>
   52: </client>
   53: 
   54: #
   55: # Verify data after the test has been "shot"
   56: <verify>
   57: <protocol>
   58: EHLO 906
   59: AUTH NTLM
   60: TlRMTVNTUAABAAAABoIIAAAAAAAAAAAAAAAAAAAAAAA=
   61: TlRMTVNTUAADAAAAGAAYAEAAAAAYABgAWAAAAAAAAABwAAAACAAIAHAAAAAIAAgAeAAAAAAAAAAAAAAAhoIBADQzMjE1MzIxAAAAAAAAAAAAAAAAAAAAADj3hs3u3j0kgJqCrLM+74BmaoNHDfIJjHRlc3R1c2VyY3VybGhvc3Q=
   62: MAIL FROM:<sender@example.com>
   63: RCPT TO:<recipient@example.com>
   64: DATA
   65: QUIT
   66: </protocol>
   67: <upload>
   68: mail body
   69: .
   70: </upload>
   71: </verify>
   72: </testcase>

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>