mirror of
https://github.com/curl/curl.git
synced 2026-08-24 11:33:33 +03:00
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.
This commit is contained in:
parent
b21701c54b
commit
eb84ca3ea8
16 changed files with 29 additions and 29 deletions
|
|
@ -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
|
||||
</servercmd>
|
||||
<data>
|
||||
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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue