mirror of
https://github.com/TalAloni/SMBLibrary.git
synced 2025-08-12 18:29:18 +02:00
Client: NTLMAuthenticationHelper: Bugfix: The generic GSSAPI header was not appended to negTokenInit
This commit is contained in:
parent
873720d6ff
commit
2b3cee14a5
1 changed files with 1 additions and 1 deletions
|
@ -67,7 +67,7 @@ namespace SMBLibrary.Client
|
||||||
outputToken.MechanismTypeList = new List<byte[]>();
|
outputToken.MechanismTypeList = new List<byte[]>();
|
||||||
outputToken.MechanismTypeList.Add(GSSProvider.NTLMSSPIdentifier);
|
outputToken.MechanismTypeList.Add(GSSProvider.NTLMSSPIdentifier);
|
||||||
outputToken.MechanismToken = negotiateMessage.GetBytes();
|
outputToken.MechanismToken = negotiateMessage.GetBytes();
|
||||||
return outputToken.GetBytes();
|
return SimpleProtectedNegotiationToken.GetTokenBytes(outputToken);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue