mirror of
https://github.com/curl/curl.git
synced 2026-08-24 14:03:35 +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
|
|
@ -20,7 +20,7 @@ REPLY "AUTH NTLM" +
|
|||
REPLY TlRMTVNTUAABAAAABoIIAAAAAAAAAAAAAAAAAAAAAAA= + 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
|
||||
|
|
@ -69,7 +69,7 @@ AUTH NTLM
|
|||
TlRMTVNTUAABAAAABoIIAAAAAAAAAAAAAAAAAAAAAAA=
|
||||
*
|
||||
AUTH PLAIN
|
||||
dXNlcgB1c2VyAHNlY3JldA==
|
||||
AHVzZXIAc2VjcmV0
|
||||
RETR 880
|
||||
QUIT
|
||||
</protocol>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue