diff --git a/client/common/cmdline.c b/client/common/cmdline.c index 6611f67b4..597ba7586 100644 --- a/client/common/cmdline.c +++ b/client/common/cmdline.c @@ -3227,6 +3227,12 @@ int freerdp_client_settings_parse_command_line_arguments(rdpSettings* settings, { settings->AuthenticationOnly = enable; } + CommandLineSwitchCase(arg, "auth-pkg-list") + { + if (!freerdp_settings_set_string(settings, FreeRDP_AuthenticationPackageList, + arg->Value)) + return COMMAND_LINE_ERROR_MEMORY; + } CommandLineSwitchCase(arg, "auto-reconnect") { settings->AutoReconnectionEnabled = enable; diff --git a/client/common/cmdline.h b/client/common/cmdline.h index 3d21ddf86..daadb979f 100644 --- a/client/common/cmdline.h +++ b/client/common/cmdline.h @@ -58,6 +58,8 @@ static const COMMAND_LINE_ARGUMENT_A global_cmd_args[] = { "Audio output mode" }, { "auth-only", COMMAND_LINE_VALUE_BOOL, NULL, BoolValueFalse, NULL, -1, NULL, "Authenticate only" }, + { "auth-pkg-list", COMMAND_LINE_VALUE_REQUIRED, "", NULL, NULL, -1, NULL, + "Authentication package filter (comma-separated list, use '!' to exclude)" }, { "authentication", COMMAND_LINE_VALUE_BOOL, NULL, BoolValueTrue, NULL, -1, NULL, "Authentication (experimental)" }, { "auto-reconnect", COMMAND_LINE_VALUE_BOOL, NULL, BoolValueFalse, NULL, -1, NULL, @@ -227,8 +229,8 @@ static const COMMAND_LINE_ARGUMENT_A global_cmd_args[] = { "Send unicode symbols, e.g. use the local keyboard map. ATTENTION: Does not work with every " "RDP server!" }, { "kerberos", COMMAND_LINE_VALUE_REQUIRED, - "[lifetime: