From eb84ca3ea8f793ecbedf7865c41a8d1b9f59efb7 Mon Sep 17 00:00:00 2001 From: Steve Holme Date: Thu, 18 Apr 2019 21:54:35 +0100 Subject: 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. --- tests/data/test879 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/data/test879') 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 From: me@somewhere @@ -58,7 +58,7 @@ CAPA AUTH CRAM-MD5 * AUTH PLAIN -dXNlcgB1c2VyAHNlY3JldA== +AHVzZXIAc2VjcmV0 RETR 879 QUIT -- cgit v1.2.3