dll: posix: FspNullSid, FspNullUid

This commit is contained in:
Bill Zissimopoulos 2016-06-24 00:19:20 -07:00
parent 3683afe203
commit 37b6936ad0
2 changed files with 2 additions and 2 deletions

View File

@ -325,7 +325,7 @@ FSP_API NTSTATUS FspPosixMapSidToUid(PSID Sid, PUINT32 PUid)
*/ */
*PUid = 0x60000 + Rid; *PUid = 0x60000 + Rid;
} }
else else if (0 != Authority)
{ {
/* [IDMAP] /* [IDMAP]
* Other well-known SIDs: * Other well-known SIDs:

View File

@ -10,7 +10,7 @@ void posix_map_sid_test(void)
UINT32 Uid; UINT32 Uid;
} map[] = } map[] =
{ {
{ L"S-1-0-0", 0x10000 }, { L"S-1-0-0", -1 },
{ L"S-1-1-0", 0x10100 }, { L"S-1-1-0", 0x10100 },
{ L"S-1-2-0", 0x10200 }, { L"S-1-2-0", 0x10200 },
{ L"S-1-2-1", 0x10201 }, { L"S-1-2-1", 0x10201 },