diff --git a/SMBLibrary/Win32/IntegratedNTLMAuthenticationProvider.cs b/SMBLibrary/Win32/IntegratedNTLMAuthenticationProvider.cs index 3fd3d84..36ce1ef 100644 --- a/SMBLibrary/Win32/IntegratedNTLMAuthenticationProvider.cs +++ b/SMBLibrary/Win32/IntegratedNTLMAuthenticationProvider.cs @@ -146,7 +146,7 @@ namespace SMBLibrary.Win32.Security switch (attributeName) { case GSSAttributeName.AccessToken: - return authContext.ServerContext; + return SSPIHelper.GetAccessToken(authContext.ServerContext); case GSSAttributeName.IsGuest: return authContext.IsGuest; case GSSAttributeName.MachineName: