/
githubmirror
/
curl
Обзор
Документация
Войти
/
githubmirror
/
curl
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
tests/data/test954
52 строки
982 B
Viktor Szakats
tidy-up: miscellaneous
14 июн 2026, 21:10
14 июн 2026, 21:10
0ffab25
Код
Авторство
О чём код?
<?xml version="1.0" encoding="US-ASCII"?> <testcase> <info> <keywords> SMTP SASL SASL AUTH PLAIN RFC4616 RFC4954 </keywords> </info> # Server-side <reply> <servercmd> AUTH PLAIN REPLY AUTH 334 PLAIN supported REPLY %b64[ursel%00kurt%00xipj3plmq]b64% 501 Not authorized </servercmd> </reply> # Client-side <client> <server> smtp </server> <name> SMTP plain auth with alt authorization identity (Not authorized) </name> <stdin> mail body </stdin> <command> smtp://%HOSTIP:%SMTPPORT/%TESTNUMBER --mail-rcpt recipient@example.com --mail-from sender@example.com -u kurt:xipj3plmq --sasl-authzid ursel -T - </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 "QUIT" <protocol crlf="yes"> EHLO %TESTNUMBER AUTH PLAIN %b64[ursel%00kurt%00xipj3plmq]b64% </protocol> </verify> </testcase>