netapi32: Downgrade more ERRs to TRACEs.
This commit is contained in:
parent
fa841ae379
commit
5091bd9a96
|
@ -116,7 +116,7 @@ DWORD WINAPI DsRoleGetPrimaryDomainInformation(
|
||||||
POLICY_VIEW_LOCAL_INFORMATION, &PolicyHandle);
|
POLICY_VIEW_LOCAL_INFORMATION, &PolicyHandle);
|
||||||
if (NtStatus != STATUS_SUCCESS)
|
if (NtStatus != STATUS_SUCCESS)
|
||||||
{
|
{
|
||||||
ERR("LsaOpenPolicyFailed with NT status %x\n",
|
TRACE("LsaOpenPolicyFailed with NT status %x\n",
|
||||||
LsaNtStatusToWinError(NtStatus));
|
LsaNtStatusToWinError(NtStatus));
|
||||||
return ERROR_OUTOFMEMORY;
|
return ERROR_OUTOFMEMORY;
|
||||||
}
|
}
|
||||||
|
|
|
@ -295,7 +295,7 @@ NetWkstaTransportEnum(LPWSTR ServerName, DWORD level, PBYTE* pbuf,
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
default:
|
default:
|
||||||
ERR("Invalid level %d is specified\n", level);
|
TRACE("Invalid level %d is specified\n", level);
|
||||||
ret = ERROR_INVALID_LEVEL;
|
ret = ERROR_INVALID_LEVEL;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -366,7 +366,7 @@ NET_API_STATUS WINAPI NetWkstaUserGetInfo(LPWSTR reserved, DWORD level,
|
||||||
&PolicyHandle);
|
&PolicyHandle);
|
||||||
if (NtStatus != STATUS_SUCCESS)
|
if (NtStatus != STATUS_SUCCESS)
|
||||||
{
|
{
|
||||||
ERR("LsaOpenPolicyFailed with NT status %x\n",
|
TRACE("LsaOpenPolicyFailed with NT status %x\n",
|
||||||
LsaNtStatusToWinError(NtStatus));
|
LsaNtStatusToWinError(NtStatus));
|
||||||
NetApiBufferFree(ui0);
|
NetApiBufferFree(ui0);
|
||||||
return ERROR_NOT_ENOUGH_MEMORY;
|
return ERROR_NOT_ENOUGH_MEMORY;
|
||||||
|
@ -426,7 +426,7 @@ NET_API_STATUS WINAPI NetWkstaUserGetInfo(LPWSTR reserved, DWORD level,
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
default:
|
default:
|
||||||
ERR("Invalid level %d is specified\n", level);
|
TRACE("Invalid level %d is specified\n", level);
|
||||||
return ERROR_INVALID_LEVEL;
|
return ERROR_INVALID_LEVEL;
|
||||||
}
|
}
|
||||||
return NERR_Success;
|
return NERR_Success;
|
||||||
|
|
Loading…
Reference in New Issue