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/test835 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/data/test835') diff --git a/tests/data/test835 b/tests/data/test835 index 400233c0c..b44e877ec 100644 --- a/tests/data/test835 +++ b/tests/data/test835 @@ -18,7 +18,7 @@ AUTH DIGEST-MD5 PLAIN REPLY "AUTHENTICATE DIGEST-MD5" + Rubbish REPLY * A002 NO AUTH exchange cancelled by client REPLY "AUTHENTICATE PLAIN" + -REPLY dXNlcgB1c2VyAHNlY3JldA== A003 OK AUTHENTICATE completed +REPLY AHVzZXIAc2VjcmV0 A003 OK AUTHENTICATE completed From: me@somewhere @@ -58,7 +58,7 @@ A001 CAPABILITY A002 AUTHENTICATE DIGEST-MD5 * A003 AUTHENTICATE PLAIN -dXNlcgB1c2VyAHNlY3JldA== +AHVzZXIAc2VjcmV0 A004 SELECT 835 A005 FETCH 1 BODY[] A006 LOGOUT -- cgit v1.2.3