Commit ab05d35c authored by Kai Blin's avatar Kai Blin Committed by Alexandre Julliard

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

parent b95e146c
......@@ -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());
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment