From 0081eaf76c86d3eb37a5cb9a2b17fd946fe9097f Mon Sep 17 00:00:00 2001
From: Chris Hines <chris.hines@monash.edu>
Date: Thu, 21 May 2015 23:38:52 +0000
Subject: [PATCH] missed some files in the last commit

---
 roles/ldapserver/templates/manager_ldif2.j2 | 4 ++++
 roles/ldapserver/templates/manager_ldif3.j2 | 4 ++++
 roles/ldapserver/vars/Debian_7.6_x86_64.yml | 9 +++++++++
 3 files changed, 17 insertions(+)
 create mode 100644 roles/ldapserver/templates/manager_ldif2.j2
 create mode 100644 roles/ldapserver/templates/manager_ldif3.j2
 create mode 100644 roles/ldapserver/vars/Debian_7.6_x86_64.yml

diff --git a/roles/ldapserver/templates/manager_ldif2.j2 b/roles/ldapserver/templates/manager_ldif2.j2
new file mode 100644
index 00000000..48f43a07
--- /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 00000000..ee4592d2
--- /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 00000000..98b6629d
--- /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
-- 
GitLab