* Load all required plugins / channels / libraries specified by current
* settings.
*/
- WLog_INFO(TAG, "Loading addins");
+ LOG_INFO(TAG, pc, "Loading addins");
if (!pf_client_load_rdpsnd(pc, config))
{
if (!freerdp_client_load_addins(instance->context->channels, instance->settings))
{
- WLog_ERR(TAG, "Failed to load addins");
+ LOG_ERR(TAG, pc, "Failed to load addins");
return FALSE;
}
static BOOL pf_client_connect(freerdp* instance)
{
pClientContext* pc = (pClientContext*)instance->context;
+ rdpSettings* settings = instance->settings;
BOOL rc = FALSE;
BOOL retry = FALSE;
+ LOG_INFO(TAG, pc, "connecting using client info: Username: %s, Domain: %s", settings->Username,
+ settings->Domain);
+
pf_client_set_security_settings(pc);
if (pf_client_should_retry_without_nla(pc))
retry = pc->allow_next_conn_failure = TRUE;
*/
#include <freerdp/display.h>
+#include <freerdp/session.h>
#include <winpr/image.h>
#include <winpr/sysinfo.h>
pClientContext* pc = (pClientContext*)context;
proxyData* pdata = pc->pdata;
rdpContext* ps = (rdpContext*)pdata->ps;
+ logon_info* logonInfo = NULL;
+
WLog_DBG(TAG, __FUNCTION__);
+
+ switch (type)
+ {
+ case INFO_TYPE_LOGON:
+ case INFO_TYPE_LOGON_LONG:
+ {
+ logonInfo = (logon_info*)data;
+ LOG_INFO(TAG, pc, "client logon info: Username: %s, Domain: %s", logonInfo->username,
+ logonInfo->domain);
+ break;
+ }
+
+ default:
+ break;
+ }
+
return ps->update->SaveSessionInfo(ps, type, data);
}