aboutsummaryrefslogtreecommitdiffstats
path: root/modules/openldap/templates
diff options
context:
space:
mode:
authorMichael Scherer <misc@mageia.org>2011-05-29 12:09:35 +0000
committerMichael Scherer <misc@mageia.org>2011-05-29 12:09:35 +0000
commitbaa725657e6df1c339be0837d8e3bda0564b249e (patch)
treeb4f966d3ceb28e4ca7eadbddb55305be88eb088e /modules/openldap/templates
parente591be892ff416fa006019fa61e5f3c71d8d01aa (diff)
downloadpuppet-baa725657e6df1c339be0837d8e3bda0564b249e.tar
puppet-baa725657e6df1c339be0837d8e3bda0564b249e.tar.gz
puppet-baa725657e6df1c339be0837d8e3bda0564b249e.tar.bz2
puppet-baa725657e6df1c339be0837d8e3bda0564b249e.tar.xz
puppet-baa725657e6df1c339be0837d8e3bda0564b249e.zip
fix the path of the ssl certificate
Diffstat (limited to 'modules/openldap/templates')
-rw-r--r--modules/openldap/templates/slapd.conf6
-rw-r--r--modules/openldap/templates/slapd.syncrepl.conf2
2 files changed, 4 insertions, 4 deletions
diff --git a/modules/openldap/templates/slapd.conf b/modules/openldap/templates/slapd.conf
index bc8f14c9..06191b03 100644
--- a/modules/openldap/templates/slapd.conf
+++ b/modules/openldap/templates/slapd.conf
@@ -35,9 +35,9 @@ moduleload memberof.la
moduleload unique.la
moduleload dynlist.la
-TLSCertificateFile /etc/ssl/openldap/ldap.pem
-TLSCertificateKeyFile /etc/ssl/openldap/ldap.pem
-TLSCACertificateFile /etc/ssl/openldap/ldap.pem
+TLSCertificateFile /etc/ssl/openldap/ldap.<%= domain %>.pem
+TLSCertificateKeyFile /etc/ssl/openldap/ldap.<%= domain %>.pem
+TLSCACertificateFile /etc/ssl/openldap/ldap.<%= domain %>.pem
# Give ldapi connection some security
localSSF 56
diff --git a/modules/openldap/templates/slapd.syncrepl.conf b/modules/openldap/templates/slapd.syncrepl.conf
index 4b4e8d40..06acca67 100644
--- a/modules/openldap/templates/slapd.syncrepl.conf
+++ b/modules/openldap/templates/slapd.syncrepl.conf
@@ -7,5 +7,5 @@ syncrepl rid=<%= rid %>
binddn="cn=syncuser-<%= hostname%>,<%= dc_suffix %>"
credentials=<%= sync_password %>
-updateref= ldaps://ldap-master.<%= domain %>:636
+updateref ldaps://ldap-master.<%= domain %>:636