diff options
author | Steve Holme <steve_holme@hotmail.com> | 2019-04-18 21:54:35 +0100 |
---|---|---|
committer | Steve Holme <steve_holme@hotmail.com> | 2019-04-22 12:29:49 +0100 |
commit | eb84ca3ea8f793ecbedf7865c41a8d1b9f59efb7 (patch) | |
tree | bd8b0144d60fb1eb1634591428ff20f1a9824e21 /tests/data/test879 | |
parent | b21701c54ba050145246e89c5137015479c65f7e (diff) | |
download | curl-eb84ca3ea8f793ecbedf7865c41a8d1b9f59efb7.tar.gz |
sasl: Don't send authcid as authzid for the PLAIN mechanism as per RFC 4616
RFC 4616 specifies the authzid is optional in the client authentication
message and that the server will derive the authorisation identity
(authzid) from the authentication identity (authcid) when not specified
by the client.
Diffstat (limited to 'tests/data/test879')
-rw-r--r-- | tests/data/test879 | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/data/test879 b/tests/data/test879 index 681d779b2..0d45aaa20 100644 --- a/tests/data/test879 +++ b/tests/data/test879 @@ -20,7 +20,7 @@ AUTH CRAM-MD5 PLAIN REPLY "AUTH CRAM-MD5" + Rubbish REPLY * -ERR AUTH exchange cancelled by client REPLY "AUTH PLAIN" + -REPLY dXNlcgB1c2VyAHNlY3JldA== +OK Login successful +REPLY AHVzZXIAc2VjcmV0 +OK Login successful </servercmd> <data> From: me@somewhere
@@ -58,7 +58,7 @@ CAPA AUTH CRAM-MD5
*
AUTH PLAIN
-dXNlcgB1c2VyAHNlY3JldA==
+AHVzZXIAc2VjcmV0
RETR 879
QUIT
</protocol> |