From 6e2b50969726c6ed758ce2a40c89b4b69337cf0b Mon Sep 17 00:00:00 2001 From: San Date: Wed, 20 Mar 2019 09:54:01 +0300 Subject: [PATCH] Fixed invalid Sid bug --- src/dll/posix.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/dll/posix.c b/src/dll/posix.c index ad4ef841..4ae27355 100644 --- a/src/dll/posix.c +++ b/src/dll/posix.c @@ -190,7 +190,7 @@ FSP_API NTSTATUS FspPosixMapUidToSid(UINT32 Uid, PSID *PSid) Uid - 0x30000); } } - else if (0x100000 <= Uid && Uid < 0x200000) + else if (0x100000 <= Uid && Uid < 0x300000) { if (0 != FspPrimaryDomainSid && 5 == FspPrimaryDomainSid->IdentifierAuthority.Value[5] &&