aboutsummaryrefslogtreecommitdiff
path: root/tests/data/test833
diff options
context:
space:
mode:
authorSteve Holme <steve_holme@hotmail.com>2019-04-18 21:54:35 +0100
committerSteve Holme <steve_holme@hotmail.com>2019-04-22 12:29:49 +0100
commiteb84ca3ea8f793ecbedf7865c41a8d1b9f59efb7 (patch)
treebd8b0144d60fb1eb1634591428ff20f1a9824e21 /tests/data/test833
parentb21701c54ba050145246e89c5137015479c65f7e (diff)
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/test833')
-rw-r--r--tests/data/test8334
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/data/test833 b/tests/data/test833
index dc8214b8e..2c694adcc 100644
--- a/tests/data/test833
+++ b/tests/data/test833
@@ -18,7 +18,7 @@ AUTH CRAM-MD5 PLAIN
REPLY "AUTHENTICATE CRAM-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
</servercmd>
<data>
From: me@somewhere
@@ -56,7 +56,7 @@ A001 CAPABILITY
A002 AUTHENTICATE CRAM-MD5
*
A003 AUTHENTICATE PLAIN
-dXNlcgB1c2VyAHNlY3JldA==
+AHVzZXIAc2VjcmV0
A004 SELECT 833
A005 FETCH 1 BODY[]
A006 LOGOUT