Commit 3814d38a authored by James Hawkins's avatar James Hawkins Committed by Alexandre Julliard

advapi32: Fix another set of failures on some Vista systems.

parent 7b8e8004
...@@ -222,6 +222,12 @@ static void test_domain_password(DWORD cred_type) ...@@ -222,6 +222,12 @@ static void test_domain_password(DWORD cred_type)
new_cred.TargetAlias = NULL; new_cred.TargetAlias = NULL;
new_cred.UserName = (char *)"test\\winetest"; new_cred.UserName = (char *)"test\\winetest";
ret = pCredWriteA(&new_cred, 0); ret = pCredWriteA(&new_cred, 0);
if (!ret && GetLastError() == ERROR_NO_SUCH_LOGON_SESSION)
{
skip("CRED_TYPE_DOMAIN_PASSWORD credentials are not supported "
"or are disabled. Skipping\n");
return;
}
ok(ret, "CredWriteA failed with error %d\n", GetLastError()); ok(ret, "CredWriteA failed with error %d\n", GetLastError());
ret = pCredEnumerateA(NULL, 0, &count, &creds); ret = pCredEnumerateA(NULL, 0, &count, &creds);
......
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