test849 (846B)
1 <testcase> 2 <info> 3 <keywords> 4 IMAP 5 SASL 6 SASL AUTH PLAIN 7 RFC4616 8 </keywords> 9 </info> 10 11 # 12 # Server-side 13 <reply> 14 <servercmd> 15 AUTH PLAIN 16 REPLY AUTHENTICATE + 17 REPLY dXJzZWwAa3VydAB4aXBqM3BsbXE= A002 NO Not authorized 18 </servercmd> 19 </reply> 20 21 # 22 # Client-side 23 <client> 24 <server> 25 imap 26 </server> 27 <name> 28 IMAP plain auth with alt authorization identity (Not authorized) 29 </name> 30 <command> 31 'imap://%HOSTIP:%IMAPPORT/%TESTNUMBER/;MAILINDEX=1' -u kurt:xipj3plmq --sasl-authzid ursel 32 </command> 33 </client> 34 35 # 36 # Verify data after the test has been "shot" 37 <verify> 38 # 67 - CURLE_LOGIN_DENIED 39 <errorcode> 40 67 41 </errorcode> 42 # 43 # The multi interface considers a broken "CONNECT" as a prematurely broken 44 # transfer and such a connection will not get a "LOGOUT" 45 <protocol> 46 A001 CAPABILITY 47 A002 AUTHENTICATE PLAIN 48 dXJzZWwAa3VydAB4aXBqM3BsbXE= 49 </protocol> 50 </verify> 51 </testcase>