mirror of
https://github.com/winfsp/winfsp.git
synced 2025-04-23 08:53:01 -05:00
dll: posix: FspNullSid, FspNullUid
This commit is contained in:
parent
3683afe203
commit
37b6936ad0
@ -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:
|
||||||
|
@ -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 },
|
||||||
|
Loading…
x
Reference in New Issue
Block a user