mirror of
https://github.com/TalAloni/SMBLibrary.git
synced 2025-04-30 02:37:49 +02:00
IntegratedNTLMAuthenticationProvider: GetContextAttribute will now return a valid access token
This commit is contained in:
parent
b433950077
commit
6cd06fb41f
1 changed files with 1 additions and 1 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Reference in a new issue