nfs-client: Disable using raw uid/gid mapping
Fixes error: kernel: NFS: v4 server nas02.home.foo.sh does not accept raw uid/gids. Reenabling the idmapper. Hopefully also makes logins faster.
This commit is contained in:
parent
9dad43c226
commit
aca3b191e6
1 changed files with 8 additions and 0 deletions
|
@ -10,6 +10,14 @@
|
|||
regexp: '^#?Domain\s*=.*'
|
||||
line: "Domain = {{ mail_domain }}"
|
||||
|
||||
- name: disable sending raw uid/gid to nfs server
|
||||
copy:
|
||||
dest: /etc/modprobe.d/nfs.conf
|
||||
content: "options nfs nfs4_disable_idmapping=0\n"
|
||||
mode: 0644
|
||||
owner: root
|
||||
group: "{{ ansible_wheel }}"
|
||||
|
||||
- name: allow gssproxy to connect kerberos servers over https
|
||||
seboolean:
|
||||
name: nis_enabled
|
||||
|
|
Loading…
Add table
Reference in a new issue