mirror of
https://github.com/morgan9e/FreeRDP
synced 2026-04-15 00:44:19 +09:00
core: Allow NULL identity for NLA authentication
During the recent changes the possiblity to perform NLA auth using the current identity was removed. In case we receive AUTH_NO_CREDENTIALS with NLA we should resume using a NULL-identity and not abort the connection.
This commit is contained in:
committed by
akallabeth
parent
7e44d447f0
commit
ecc29d00c0
@@ -336,9 +336,8 @@ static BOOL nla_client_setup_identity(rdpNla* nla)
|
||||
freerdp_set_last_error_log(instance->context, FREERDP_ERROR_CONNECT_CANCELLED);
|
||||
return FALSE;
|
||||
case AUTH_NO_CREDENTIALS:
|
||||
freerdp_set_last_error_log(instance->context,
|
||||
FREERDP_ERROR_CONNECT_NO_OR_MISSING_CREDENTIALS);
|
||||
return FALSE;
|
||||
WLog_INFO(TAG, "No credentials provided - using NULL identity");
|
||||
break;
|
||||
default:
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user