mirror of
https://github.com/reactos/reactos.git
synced 2025-02-24 17:34:57 +00:00
fix some more security winetests
svn path=/trunk/; revision=38474
This commit is contained in:
parent
fd09fafa0b
commit
45bacdf407
1 changed files with 6 additions and 0 deletions
|
@ -1301,6 +1301,12 @@ LookupAccountNameW(LPCWSTR lpSystemName,
|
|||
TRACE("%s %s %p %p %p %p %p - stub\n", lpSystemName, lpAccountName,
|
||||
Sid, cbSid, ReferencedDomainName, cchReferencedDomainName, peUse);
|
||||
|
||||
if (!ADVAPI_IsLocalComputer(lpSystemName))
|
||||
{
|
||||
SetLastError(RPC_S_SERVER_UNAVAILABLE);
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
for (i = 0; i < (sizeof(ACCOUNT_SIDS) / sizeof(ACCOUNT_SIDS[0])); i++)
|
||||
{
|
||||
if (!wcscmp(lpAccountName, ACCOUNT_SIDS[i].account))
|
||||
|
|
Loading…
Reference in a new issue