mirror of
https://github.com/TalAloni/SMBLibrary.git
synced 2025-08-03 22:41:49 +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;
|
||||
}
|
||||
|
||||
byte[] authenticationMessageBytes = NTLMAuthenticationHelper.GetAuthenticateMessage(challengeMessageBytes, m_domainName, m_userName, m_password, m_spn, m_authenticationMethod, out m_sessionKey);
|
||||
if (useGSSAPI && authenticationMessageBytes != null)
|
||||
byte[] authenticateMessageBytes = NTLMAuthenticationHelper.GetAuthenticateMessage(challengeMessageBytes, m_domainName, m_userName, m_password, m_spn, m_authenticationMethod, out m_sessionKey);
|
||||
if (useGSSAPI && authenticateMessageBytes != null)
|
||||
{
|
||||
SimpleProtectedNegotiationTokenResponse outputToken = new SimpleProtectedNegotiationTokenResponse();
|
||||
outputToken.ResponseToken = authenticationMessageBytes;
|
||||
outputToken.ResponseToken = authenticateMessageBytes;
|
||||
return outputToken.GetBytes();
|
||||
}
|
||||
else
|
||||
{
|
||||
return authenticationMessageBytes;
|
||||
return authenticateMessageBytes;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue