Skip to content

Commit

Permalink
Update sssd_enable_smartcards for RHEL 10
Browse files Browse the repository at this point in the history
  • Loading branch information
Mab879 committed Jan 22, 2025
1 parent 12279d1 commit e589312
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
replace: 'pam_cert_auth = True'
with_items: "{{ sssd_conf_d_files.files }}"

{{% if product in ["fedora", "ol8", "ol9", "rhel8", "rhel9"] %}}
{{% if product in ["fedora", "ol8", "ol9"] or 'rhel' in product %}}
- name: '{{{ rule_title }}} - Check if system relies on authselect'
ansible.builtin.stat:
path: /usr/bin/authselect
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ umask u=rw,go=

umask $OLD_UMASK

{{% if product in ["fedora", "ol8", "ol9", "rhel8", "rhel9"] %}}
{{% if product in ["fedora", "ol8", "ol9"] or 'rhel' in product %}}
if [ -f /usr/bin/authselect ]; then
{{{ bash_enable_authselect_feature('with-smartcard') | indent(4) }}}
else
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<criteria operator="AND">
<criterion comment="Check pam_cert_auth in /etc/sssd/sssd.conf"
test_ref="test_sssd_enable_smartcards"/>
{{% if product in ["fedora", "ol8", "ol9", "rhel8", "rhel9"] %}}
{{% if product in ["fedora", "ol8", "ol9"] or 'rhel' in product %}}
<criterion comment="Check allow_missing_name in /etc/pam.d/smartcard-auth"
test_ref="test_sssd_enable_smartcards_allow_missing_name_smartcard_auth"/>
<criterion comment="Check try_cert_auth or require_cert_auth in /etc/pam.d/system-auth"
Expand Down

0 comments on commit e589312

Please sign in to comment.