forked from LibreSchool/libreschool-nfs
FIX: fstab mount order, ldap.conf file mode
This commit is contained in:
parent
0cf97f50b5
commit
08cd943ef9
@ -17,7 +17,7 @@
|
||||
src: "{{ esmith.SystemName }}.{{ esmith.DomainName }}:/var/lib/nethserver/home"
|
||||
fstype: nfs4
|
||||
opts: rw,async,_netdev
|
||||
passno: 0
|
||||
passno: 1
|
||||
dump: 0
|
||||
state: mounted
|
||||
|
||||
@ -51,11 +51,12 @@
|
||||
regexp: '^shadow\:'
|
||||
line: 'shadow: files ldap'
|
||||
|
||||
# TODO: think about security... we should move the ldap admin password somewhere else
|
||||
- name: ldap configuration
|
||||
template:
|
||||
src: 'ldap.conf'
|
||||
dest: '/etc/ldap.conf'
|
||||
owner: 'root'
|
||||
group: 'root'
|
||||
mode: 0600
|
||||
notify: restart libnss-ldap
|
||||
mode: 0644
|
||||
# notify: restart libnss-ldap
|
||||
|
Loading…
x
Reference in New Issue
Block a user