From 10fdffb128b2aa1f91b4f889cf92540d7a14e13b Mon Sep 17 00:00:00 2001 From: Cyberboss Date: Thu, 27 Sep 2018 15:03:24 -0400 Subject: [PATCH] Fix for domain system identities --- .../Security/WindowsSystemIdentityFactory.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Tgstation.Server.Host/Security/WindowsSystemIdentityFactory.cs b/src/Tgstation.Server.Host/Security/WindowsSystemIdentityFactory.cs index 0780bdfa6b..0013a65758 100644 --- a/src/Tgstation.Server.Host/Security/WindowsSystemIdentityFactory.cs +++ b/src/Tgstation.Server.Host/Security/WindowsSystemIdentityFactory.cs @@ -57,7 +57,7 @@ namespace Tgstation.Server.Host.Security { try { - pc = new PrincipalContext(ContextType.Machine); + pc = new PrincipalContext(contextType); cancellationToken.ThrowIfCancellationRequested(); principal = UserPrincipal.FindByIdentity(pc, user.SystemIdentifier);