diff --git a/roles/ldap-client/tasks/main.yml b/roles/ldap-client/tasks/main.yml index f4fbac4..19e6d92 100644 --- a/roles/ldap-client/tasks/main.yml +++ b/roles/ldap-client/tasks/main.yml @@ -8,7 +8,7 @@ notify: restart nslcd - name: Copy LDAP CA - copy: src=ldap.crt dest=/etc/ssl/ldap.crt mode=0644 + copy: src=ldap.crt dest=/etc/ldap/ldap.crt mode=0644 notify: restart nslcd - name: Configure PAM mkhomedir diff --git a/roles/ldap-client/templates/nslcd.conf.j2 b/roles/ldap-client/templates/nslcd.conf.j2 index 3965bc4..647e465 100644 --- a/roles/ldap-client/templates/nslcd.conf.j2 +++ b/roles/ldap-client/templates/nslcd.conf.j2 @@ -32,4 +32,4 @@ base shadow {{ nslcd_base_shadow }} # SSL options tls_reqcert demand -tls_cacertfile /etc/ssl/ldap.crt +tls_cacertfile /etc/ldap/ldap.crt