diff --git a/roles/ldapserver/templates/manager_ldif2.j2 b/roles/ldapserver/templates/manager_ldif2.j2 new file mode 100644 index 0000000000000000000000000000000000000000..48f43a07b727f442739a68aa307000d31a5c7635 --- /dev/null +++ b/roles/ldapserver/templates/manager_ldif2.j2 @@ -0,0 +1,4 @@ +dn: {{ dbname }},cn=config +changetype: modify +add: olcRootPW +olcRootPW: {{ ldapManagerHash.stdout }} diff --git a/roles/ldapserver/templates/manager_ldif3.j2 b/roles/ldapserver/templates/manager_ldif3.j2 new file mode 100644 index 0000000000000000000000000000000000000000..ee4592d2d2e0b2c052fbf65e73cee7a7b67de2b0 --- /dev/null +++ b/roles/ldapserver/templates/manager_ldif3.j2 @@ -0,0 +1,4 @@ +dn: {{ dbname }},cn=config +changetype: modify +replace: olcRootPW +olcRootPW: {{ ldapManagerHash.stdout }} diff --git a/roles/ldapserver/vars/Debian_7.6_x86_64.yml b/roles/ldapserver/vars/Debian_7.6_x86_64.yml new file mode 100644 index 0000000000000000000000000000000000000000..98b6629d99403a8c5132238cda09e46273cfab90 --- /dev/null +++ b/roles/ldapserver/vars/Debian_7.6_x86_64.yml @@ -0,0 +1,9 @@ +--- + system_packages: + - slapd + - ldap-utils + - openssl + + ldapuser: openldap + ldapgroup: openldap + dbname: olcDatabase={1}hdb