mirror of
https://github.com/TalAloni/SMBLibrary.git
synced 2025-08-12 18:29:18 +02:00
Client: NTLMAuthenticationClient.GetAuthenticateMessage: Renamed variable
This commit is contained in:
parent
787df79c8d
commit
2b92e1b5f6
1 changed files with 4 additions and 4 deletions
|
@ -102,16 +102,16 @@ namespace SMBLibrary.Client.Authentication
|
||||||
challengeMessageBytes = securityBlob;
|
challengeMessageBytes = securityBlob;
|
||||||
}
|
}
|
||||||
|
|
||||||
byte[] authenticationMessageBytes = NTLMAuthenticationHelper.GetAuthenticateMessage(challengeMessageBytes, m_domainName, m_userName, m_password, m_spn, m_authenticationMethod, out m_sessionKey);
|
byte[] authenticateMessageBytes = NTLMAuthenticationHelper.GetAuthenticateMessage(challengeMessageBytes, m_domainName, m_userName, m_password, m_spn, m_authenticationMethod, out m_sessionKey);
|
||||||
if (useGSSAPI && authenticationMessageBytes != null)
|
if (useGSSAPI && authenticateMessageBytes != null)
|
||||||
{
|
{
|
||||||
SimpleProtectedNegotiationTokenResponse outputToken = new SimpleProtectedNegotiationTokenResponse();
|
SimpleProtectedNegotiationTokenResponse outputToken = new SimpleProtectedNegotiationTokenResponse();
|
||||||
outputToken.ResponseToken = authenticationMessageBytes;
|
outputToken.ResponseToken = authenticateMessageBytes;
|
||||||
return outputToken.GetBytes();
|
return outputToken.GetBytes();
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
return authenticationMessageBytes;
|
return authenticateMessageBytes;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue