| 1 |
<testcase> |
| 2 |
<info> |
| 3 |
<keywords> |
| 4 |
POP3 |
| 5 |
SASL |
| 6 |
SASL AUTH PLAIN |
| 7 |
RFC1734 |
| 8 |
RFC4616 |
| 9 |
RFC5034 |
| 10 |
</keywords> |
| 11 |
</info> |
| 12 |
|
| 13 |
# |
| 14 |
# Server-side |
| 15 |
<reply> |
| 16 |
<servercmd> |
| 17 |
AUTH PLAIN |
| 18 |
REPLY AUTH + |
| 19 |
REPLY dXJzZWwAa3VydAB4aXBqM3BsbXE= -ERR Not authorized |
| 20 |
</servercmd> |
| 21 |
</reply> |
| 22 |
|
| 23 |
# |
| 24 |
# Client-side |
| 25 |
<client> |
| 26 |
<server> |
| 27 |
pop3 |
| 28 |
</server> |
| 29 |
<name> |
| 30 |
POP3 plain authentication with alternative authorization identity (Not authorized) |
| 31 |
</name> |
| 32 |
<command> |
| 33 |
pop3://%HOSTIP:%POP3PORT/893 -u kurt:xipj3plmq --sasl-authzid ursel |
| 34 |
</command> |
| 35 |
</client> |
| 36 |
|
| 37 |
# |
| 38 |
# Verify data after the test has been "shot" |
| 39 |
<verify> |
| 40 |
# 67 - CURLE_LOGIN_DENIED |
| 41 |
<errorcode> |
| 42 |
67 |
| 43 |
</errorcode> |
| 44 |
# |
| 45 |
# The multi interface considers a broken "CONNECT" as a prematurely broken |
| 46 |
# transfer and such a connection will not get a "QUIT" |
| 47 |
<protocol> |
| 48 |
CAPA |
| 49 |
AUTH PLAIN |
| 50 |
dXJzZWwAa3VydAB4aXBqM3BsbXE= |
| 51 |
</protocol> |
| 52 |
</verify> |
| 53 |
</testcase> |