Browse Source

add slpad pw-sha2 module

python3
Andrea Cimbalo 7 years ago
parent
commit
f0684ce37b
2 changed files with 6 additions and 4 deletions
  1. +1
    -1
      ldap.yaml
  2. +5
    -3
      roles/ldap/tasks/main.yaml

+ 1
- 1
ldap.yaml View File

@ -1,5 +1,5 @@
---
- hosts: emmett
- hosts: biff
roles:
- role: lxc_guest
vm_name: ldap


+ 5
- 3
roles/ldap/tasks/main.yaml View File

@ -88,10 +88,12 @@
become_user: openldap
notify: restart slapd
- name: fix missing memberOf module load
lineinfile:
- name: fix missing memberOf and pw-sha2 module load
blockinfile:
dest: /etc/ldap/slapd.d/cn=config/cn=module{0}.ldif
line: "olcModuleLoad: {1}memberof"
content: |
olcModuleLoad: {1}memberof
olcModuleLoad: {2}pw-sha2
notify: restart slapd
- name: upload default tree
template:


Loading…
Cancel
Save