File:  [ELWIX - Embedded LightWeight unIX -] / embedaddon / curl / tests / data / test933
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: SASL CANCELLATION
    8: RFC4954
    9: </keywords>
   10: </info>
   11: 
   12: #
   13: # Server-side
   14: <reply>
   15: <servercmd>
   16: AUTH NTLM
   17: REPLY AUTH 334 NTLM supported
   18: REPLY TlRMTVNTUAABAAAABoIIAAAAAAAAAAAAAAAAAAAAAAA= 334 Rubbish
   19: REPLY * 501 AUTH exchange cancelled by client
   20: </servercmd>
   21: </reply>
   22: 
   23: #
   24: # Client-side
   25: <client>
   26: <server>
   27: smtp
   28: </server>
   29: <features>
   30: NTLM
   31: SSL
   32: !SSPI
   33: </features>
   34:  <name>
   35: SMTP NTLM graceful cancellation
   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:  <command>
   44: smtp://%HOSTIP:%SMTPPORT/933 --mail-rcpt recipient@example.com --mail-from sender@example.com -u testuser:testpass -T -
   45: </command>
   46: <precheck>
   47: chkhostname curlhost
   48: </precheck>
   49: </client>
   50: 
   51: #
   52: # Verify data after the test has been "shot"
   53: <verify>
   54: # 67 - CURLE_LOGIN_DENIED
   55: <errorcode>
   56: 67
   57: </errorcode>
   58: #
   59: # The multi interface considers a broken "CONNECT" as a prematurely broken
   60: # transfer and such a connection will not get a "QUIT"
   61: <protocol>
   62: EHLO 933
   63: AUTH NTLM
   64: TlRMTVNTUAABAAAABoIIAAAAAAAAAAAAAAAAAAAAAAA=
   65: *
   66: </protocol>
   67: </verify>
   68: </testcase>

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