mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-06-27 23:57:02 +08:00
Allow sssd to ignore special users
Currently /etc/nsswitch.conf has configurations like passwd: sss files shadow: files sss group: sss files The problem is that to make sure that certain users could not be created in IPA (like nobody root etc), they were already created but in a restricted group. In order to allow sss to work for postfix, nfs, nobody and such, the sssd.conf needs to ignore them in the nss section. This adds a file which will do that. Signed-off-by: Stephen Smoogen <smooge@smoogespace.com>
This commit is contained in:
@@ -39,3 +39,10 @@
|
||||
host: "{{ item[2] | list }}"
|
||||
loop: "{{ ipa_server_host_groups_hosts }}"
|
||||
when: ipa_server_host_groups_hosts is defined
|
||||
|
||||
- name: Ensure that nss knows to skip certain users
|
||||
copy: src=fedora-nss-ignore.conf dest=/etc/sssd/conf.d/ mode=600 owner=root group=root
|
||||
tags:
|
||||
- ipa/client
|
||||
- config
|
||||
notify: clean sss caches
|
||||
|
||||
Reference in New Issue
Block a user