Return to test835 CVS log | Up to [ELWIX - Embedded LightWeight unIX -] / embedaddon / curl / tests / data |
1.1 ! misho 1: <testcase> ! 2: <info> ! 3: <keywords> ! 4: IMAP ! 5: SASL ! 6: SASL AUTH DIGEST-MD5 ! 7: SASL AUTH PLAIN ! 8: SASL DOWNGRADE ! 9: RFC2831 ! 10: </keywords> ! 11: </info> ! 12: ! 13: # ! 14: # Server-side ! 15: <reply> ! 16: <servercmd> ! 17: AUTH DIGEST-MD5 PLAIN ! 18: REPLY "AUTHENTICATE DIGEST-MD5" + Rubbish ! 19: REPLY * A002 NO AUTH exchange cancelled by client ! 20: REPLY "AUTHENTICATE PLAIN" + ! 21: REPLY AHVzZXIAc2VjcmV0 A003 OK AUTHENTICATE completed ! 22: </servercmd> ! 23: <data> ! 24: From: me@somewhere ! 25: To: fake@nowhere ! 26: ! 27: body ! 28: ! 29: -- ! 30: yours sincerely ! 31: </data> ! 32: </reply> ! 33: ! 34: # ! 35: # Client-side ! 36: <client> ! 37: <server> ! 38: imap ! 39: </server> ! 40: <features> ! 41: !SSPI ! 42: debug ! 43: crypto ! 44: </features> ! 45: <name> ! 46: IMAP DIGEST-MD5 authentication with SASL downgrade ! 47: </name> ! 48: <command> ! 49: 'imap://%HOSTIP:%IMAPPORT/835/;MAILINDEX=1' -u user:secret ! 50: </command> ! 51: </client> ! 52: ! 53: # ! 54: # Verify data after the test has been "shot" ! 55: <verify> ! 56: <protocol> ! 57: A001 CAPABILITY ! 58: A002 AUTHENTICATE DIGEST-MD5 ! 59: * ! 60: A003 AUTHENTICATE PLAIN ! 61: AHVzZXIAc2VjcmV0 ! 62: A004 SELECT 835 ! 63: A005 FETCH 1 BODY[] ! 64: A006 LOGOUT ! 65: </protocol> ! 66: </verify> ! 67: </testcase>