From 2d1a5211c123aa3e53a4774bd74746264bf8bc99 Mon Sep 17 00:00:00 2001
From: Benjamin Graillot <graillot@crans.org>
Date: Tue, 28 Jul 2020 11:46:04 +0200
Subject: [PATCH] [slapd] Use password from vault

---
 roles/slapd/templates/ldap/slapd.conf.j2 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/roles/slapd/templates/ldap/slapd.conf.j2 b/roles/slapd/templates/ldap/slapd.conf.j2
index 3e539f01..0db098b6 100644
--- a/roles/slapd/templates/ldap/slapd.conf.j2
+++ b/roles/slapd/templates/ldap/slapd.conf.j2
@@ -110,7 +110,7 @@ syncrepl
         provider=ldaps://{{ ldap.master_ip }}:636
         bindmethod=simple
         binddn="cn=replicator,dc=crans,dc=org"
-        credentials=test1234 # TODO cranspasswords
+        credentials={{ ldap.replication_credentials }}
         searchbase="dc=crans,dc=org"
         scope=sub
         schemachecking=on
-- 
GitLab