Add LDAP client config and enable pam_umask.
This commit is contained in:
parent
98b8d5d6ff
commit
572dd5a3b0
2 changed files with 29 additions and 0 deletions
|
@ -69,6 +69,18 @@
|
|||
replace: '\1 ldap'
|
||||
when: not slapd.stat.exists
|
||||
|
||||
- name: add URI to ldap.conf
|
||||
lineinfile:
|
||||
dest: /etc/ldap/ldap.conf
|
||||
line: "URI ldapi:///"
|
||||
insertafter: "#URI.*"
|
||||
|
||||
- name: add BASE to ldap.conf
|
||||
lineinfile:
|
||||
dest: /etc/ldap/ldap.conf
|
||||
line: "BASE {{ basedn }}"
|
||||
insertafter: "#BASE.*"
|
||||
|
||||
#######################################################################################
|
||||
## Use the admin password saved to file from now on (available also after installation):
|
||||
- name: slurp admin password
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue