Added warning to win shadow server

Currently the windows shadow server does not support authentication.
Log that fact so everyone using it is notified on each login.
This commit is contained in:
Armin Novak 2019-12-12 09:19:23 +01:00
parent 2f2f4f91d8
commit e6ff9e3efa
1 changed files with 4 additions and 0 deletions

View File

@ -80,6 +80,7 @@ static BOOL shw_end_paint(rdpContext* context)
BOOL shw_desktop_resize(rdpContext* context)
{
WLog_WARN(TAG, "Desktop resizing not implemented!");
return TRUE;
}
@ -92,18 +93,21 @@ static BOOL shw_surface_frame_marker(rdpContext* context,
static BOOL shw_authenticate(freerdp* instance, char** username, char** password, char** domain)
{
WLog_WARN(TAG, "Authentication not implemented, access granted to everyone!");
return TRUE;
}
static DWORD shw_verify_certificate(freerdp* instance, const char* common_name, const char* subject,
const char* issuer, const char* fingerprint, BOOL host_mismatch)
{
WLog_WARN(TAG, "Certificate checks not implemented, access granted to everyone!");
return 1;
}
static int shw_verify_x509_certificate(freerdp* instance, BYTE* data, int length,
const char* hostname, int port, DWORD flags)
{
WLog_WARN(TAG, "Certificate checks not implemented, access granted to everyone!");
return 1;
}