Skip to content

Commit

Permalink
IntegratedNTLMAuthenticationProvider: GetContextAttribute will now re…
Browse files Browse the repository at this point in the history
…turn a valid access token
  • Loading branch information
TalAloni committed Feb 19, 2017
1 parent b433950 commit 6cd06fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion SMBLibrary/Win32/IntegratedNTLMAuthenticationProvider.cs
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ public override object GetContextAttribute(object context, GSSAttributeName attr
switch (attributeName)
{
case GSSAttributeName.AccessToken:
return authContext.ServerContext;
return SSPIHelper.GetAccessToken(authContext.ServerContext);
case GSSAttributeName.IsGuest:
return authContext.IsGuest;
case GSSAttributeName.MachineName:
Expand Down

0 comments on commit 6cd06fb

Please sign in to comment.