mirror of
https://github.com/pocoproject/poco.git
synced 2025-10-25 18:22:59 +02:00
added comment and link to MS-SMTPNTLM
This commit is contained in:
@@ -239,6 +239,10 @@ void SMTPClientSession::loginUsingXOAUTH2(const std::string& username, const std
|
|||||||
|
|
||||||
void SMTPClientSession::loginUsingNTLM(const std::string& username, const std::string& password)
|
void SMTPClientSession::loginUsingNTLM(const std::string& username, const std::string& password)
|
||||||
{
|
{
|
||||||
|
// Implementation is based on:
|
||||||
|
// [MS-SMTPNTLM]: NT LAN Manager (NTLM) Authentication: Simple Mail Transfer Protocol (SMTP) Extension
|
||||||
|
// https://docs.microsoft.com/en-us/openspecs/windows_protocols/ms-smtpntlm/50c668f6-5ffc-4616-96df-b5a3f4b3311d
|
||||||
|
|
||||||
NTLMCredentials::NegotiateMessage negotiateMsg;
|
NTLMCredentials::NegotiateMessage negotiateMsg;
|
||||||
std::string user;
|
std::string user;
|
||||||
std::string domain;
|
std::string domain;
|
||||||
|
|||||||
Reference in New Issue
Block a user