Commit 82192b68 authored by Lars Beckers's avatar Lars Beckers
Browse files

ad-auth: fix compatibility issues with bullseye

parent 63e4f4d2
Pipeline #3012 passed with stage
in 43 seconds
......@@ -14,9 +14,15 @@
- name: check that overwritten pam configs were not updated
fail:
msg: "The original PAM configs (unix/sss) that we overwrite have changed."
when: (pamunix.stat.checksum != '727dc8f53ceaea0264d0877fcbb2a52eb341ff10'
or pamsss.stat.checksum != '3c1d4e9fa522e2ec9729260d3b108ef31df8ef9d')
msg: "The original PAM configs (sss) that we overwrite have changed."
when: pamsss.stat.checksum != '3c1d4e9fa522e2ec9729260d3b108ef31df8ef9d'
- name: check that overwritten pam configs were not updated
fail:
msg: "The original PAM configs (unix) that we overwrite have changed."
when:
- pamunix.stat.checksum != '727dc8f53ceaea0264d0877fcbb2a52eb341ff10'
- pamunix.stat.checksum != 'f3703a58a041745d6b70b9ebb179736653d32ef4'
- name: ensure pam applies customized configs
copy:
......
[sssd]
domains = {{ domain }}
config_file_version = 2
{% if ansible_distribution_major_version|int(default=99) < 11 %}
services = nss, pam
{% endif %}
[pam]
offline_credentials_expiration = 1
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment