Client: NTLMAuthenticationHelper: Bugfix: The generic GSSAPI header was not appended to negTokenInit

This commit is contained in:
Tal Aloni 2017-09-23 13:29:16 +03:00
parent 873720d6ff
commit 2b3cee14a5

View file

@ -67,7 +67,7 @@ namespace SMBLibrary.Client
outputToken.MechanismTypeList = new List<byte[]>();
outputToken.MechanismTypeList.Add(GSSProvider.NTLMSSPIdentifier);
outputToken.MechanismToken = negotiateMessage.GetBytes();
return outputToken.GetBytes();
return SimpleProtectedNegotiationToken.GetTokenBytes(outputToken);
}
else
{