secur32: Make GetComputerObjectName(A|W) tests work on win2k3 domains.

This commit is contained in:
Kai Blin 2008-09-28 17:59:03 +02:00 committed by Alexandre Julliard
parent b95e146ccb
commit ab05d35c6d
1 changed files with 4 additions and 0 deletions

View File

@ -56,6 +56,8 @@ static void testGetComputerObjectNameA(void)
(GetLastError() == ERROR_INVALID_PARAMETER)) ||
(GetLastError() == ERROR_CANT_ACCESS_DOMAIN_INFO) ||
(GetLastError() == ERROR_NO_SUCH_DOMAIN) ||
(GetLastError() == ERROR_NO_SUCH_USER) ||
(GetLastError() == ERROR_NONE_MAPPED) ||
(GetLastError() == ERROR_ACCESS_DENIED),
"GetComputerObjectNameA(%d) failed: %d\n",
formats[i], GetLastError());
@ -79,6 +81,8 @@ static void testGetComputerObjectNameW(void)
(GetLastError() == ERROR_INVALID_PARAMETER)) ||
(GetLastError() == ERROR_CANT_ACCESS_DOMAIN_INFO) ||
(GetLastError() == ERROR_NO_SUCH_DOMAIN) ||
(GetLastError() == ERROR_NO_SUCH_USER) ||
(GetLastError() == ERROR_NONE_MAPPED) ||
(GetLastError() == ERROR_ACCESS_DENIED),
"GetComputerObjectNameW(%d) failed: %d\n",
formats[i], GetLastError());