ldap_server: Fix SASL authentication
This commit is contained in:
parent
bfbb54b02c
commit
1c9da5f582
1 changed files with 10 additions and 0 deletions
|
@ -118,6 +118,16 @@
|
|||
- password
|
||||
- secmod.db
|
||||
|
||||
- name: Configure SASL
|
||||
ansible.builtin.copy:
|
||||
dest: /etc/sasl2/slapd.conf
|
||||
content: |
|
||||
pwcheck_method: saslauthd
|
||||
mode: 0644
|
||||
owner: root
|
||||
group: "{{ ansible_wheel }}"
|
||||
notify: Restart slapd
|
||||
|
||||
- name: Copy server certificates
|
||||
ansible.builtin.copy:
|
||||
dest: "{{ tls_certs }}/{{ ldap_server_cert }}.crt"
|
||||
|
|
Loading…
Add table
Reference in a new issue