{{% if 'ubuntu' in product %}}
{{% set gdm_conf_path = "/etc/gdm3/custom.conf" %}}
{{% elif 'debian' in product %}}
{{% set gdm_conf_path = "/etc/gdm3/daemon.conf" %}}
{{% else %}}
{{% set gdm_conf_path = "/etc/gdm/custom.conf" %}}
{{% endif %}}
{{{- oval_check_ini_file(path=gdm_conf_path, section='xdmcp', parameter='Enable', value='false', missing_parameter_pass=false, application='gdm', multi_value=false, missing_config_file_fail=true, rule_id=rule_id, rule_title=rule_title) }}}
