advapi32: Fix a test failure on systems that are domain members.

This commit is contained in:
Juan Lang 2009-02-12 14:27:53 -08:00 committed by Alexandre Julliard
parent c233fd5796
commit 58c6467ce6
1 changed files with 1 additions and 0 deletions

View File

@ -1884,6 +1884,7 @@ static void test_LookupAccountName(void)
domain_size = 0;
ret = LookupAccountNameA(NULL, computer_name, NULL, &sid_size, NULL, &domain_size, &sid_use);
ok(!ret && (GetLastError() == ERROR_INSUFFICIENT_BUFFER ||
GetLastError() == ERROR_NONE_MAPPED /* in a domain */ ||
broken(GetLastError() == ERROR_TRUSTED_DOMAIN_FAILURE) ||
broken(GetLastError() == ERROR_TRUSTED_RELATIONSHIP_FAILURE)),
"LookupAccountNameA failed: %d\n", GetLastError());