File tree Expand file tree Collapse file tree 3 files changed +41
-1
lines changed Expand file tree Collapse file tree 3 files changed +41
-1
lines changed Original file line number Diff line number Diff line change 1616 group : ' root'
1717 mode : ' 0600'
1818 notify : restart sssd
19+ when : not pam | bool
20+
21+ - name : Add configuration file to /etc/sssd/sssd.conf
22+ template :
23+ src : ' sssd_ubuntu.conf.j2'
24+ dest : ' /etc/sssd/sssd.conf'
25+ owner : ' root'
26+ group : ' root'
27+ mode : ' 0600'
28+ notify : restart sssd
29+ when : pam | bool
1930
2031- name : Copy CA certificate
2132 copy :
Original file line number Diff line number Diff line change 11[sssd]
2+
23config_file_version = 2
4+ services = nss, pam
35domains = cluster
46
7+ [nss]
8+ filter_users = root
9+ entry_negative_timeout = 5
10+
11+ [pam]
12+ pam_verbosity = 2
13+ pam_account_expired_message = 'Your account has expired. Please contact a system administrator'
14+
515[domain/cluster]
616ldap_schema = rfc2307bis
717id_provider = ldap
@@ -16,4 +26,4 @@ ldap_network_timeout = 30
1626ldap_access_order = expire
1727ldap_access_filter = (& (objectclass=inetOrgPerson))
1828ldap_account_expire_policy = shadow
19- enumerate = true
29+ enumerate = true
Original file line number Diff line number Diff line change 1+ [sssd]
2+ config_file_version = 2
3+ domains = cluster
4+
5+ [domain/cluster]
6+ ldap_schema = rfc2307bis
7+ id_provider = ldap
8+ auth_provider = ldap
9+ access_provider = ldap
10+ chpass_provider = ldap
11+ cache_credentials = true
12+ entry_cache_timeout = 600
13+ ldap_uri = ldaps://{{ hostvars[groups['bastion'] [0]] ['ansible_fqdn'] }}
14+ ldap_search_base = dc=local
15+ ldap_network_timeout = 30
16+ ldap_access_order = expire
17+ ldap_access_filter = (& (objectclass=inetOrgPerson))
18+ ldap_account_expire_policy = shadow
19+ enumerate = true
You can’t perform that action at this time.
0 commit comments