mirror of
https://github.com/curl/curl.git
synced 2026-06-18 16:15:38 +03:00
- `N byte` -> `N-byte` or `N bytes`. - INTERNALS.md: language tweaks. - schannel: language tweak in comment/error message. - socks_gssapi, socks_sspi: simplify composing an error message. (at a cost of 8 extra constant string bytes.) - m4/curl-compilers.m4: fix typo in link (in comment). - contrithanks.sh: fix indent, drop stray `;` terminator. - lib, src, tests: drop/fix a bunch of badwords. - fix typos in comments. - fix indent, stray spaces. Some of these spotted by GitHub Code Quality and Copilot Closes #22009
48 lines
900 B
XML
48 lines
900 B
XML
<?xml version="1.0" encoding="US-ASCII"?>
|
|
<testcase>
|
|
<info>
|
|
<keywords>
|
|
IMAP
|
|
SASL
|
|
SASL AUTH PLAIN
|
|
RFC4616
|
|
</keywords>
|
|
</info>
|
|
|
|
# Server-side
|
|
<reply>
|
|
<servercmd>
|
|
AUTH PLAIN
|
|
REPLY AUTHENTICATE +
|
|
REPLY %b64[ursel%00kurt%00xipj3plmq]b64% A002 NO Not authorized
|
|
</servercmd>
|
|
</reply>
|
|
|
|
# Client-side
|
|
<client>
|
|
<server>
|
|
imap
|
|
</server>
|
|
<name>
|
|
IMAP plain auth with alt authorization identity (Not authorized)
|
|
</name>
|
|
<command>
|
|
'imap://%HOSTIP:%IMAPPORT/%TESTNUMBER/;MAILINDEX=1' -u kurt:xipj3plmq --sasl-authzid ursel
|
|
</command>
|
|
</client>
|
|
|
|
# Verify data after the test has been "shot"
|
|
<verify>
|
|
# 67 - CURLE_LOGIN_DENIED
|
|
<errorcode>
|
|
67
|
|
</errorcode>
|
|
# The multi interface considers a broken "CONNECT" as a prematurely broken
|
|
# transfer and such a connection does not get a "LOGOUT"
|
|
<protocol crlf="yes">
|
|
A001 CAPABILITY
|
|
A002 AUTHENTICATE PLAIN
|
|
%b64[ursel%00kurt%00xipj3plmq]b64%
|
|
</protocol>
|
|
</verify>
|
|
</testcase>
|