From a4d89852ce9517d4b2ff00c31603ba75a84a937f Mon Sep 17 00:00:00 2001
From: Simon Rettberg
Date: Wed, 6 Dec 2017 13:15:36 +0100
Subject: [sysconfig] Support customizing LDAP attributes
---
.../sysconfig/templates/ad_ldap-checkconnection.html | 7 +++++++
.../sysconfig/templates/ad_ldap-checkcredentials.html | 6 ++++++
.../sysconfig/templates/ad_ldap-homedir.html | 3 +++
modules-available/sysconfig/templates/ldap-start.html | 16 +++++++++++++++-
4 files changed, 31 insertions(+), 1 deletion(-)
(limited to 'modules-available/sysconfig/templates')
diff --git a/modules-available/sysconfig/templates/ad_ldap-checkconnection.html b/modules-available/sysconfig/templates/ad_ldap-checkconnection.html
index 35c8f1ee..630da398 100644
--- a/modules-available/sysconfig/templates/ad_ldap-checkconnection.html
+++ b/modules-available/sysconfig/templates/ad_ldap-checkconnection.html
@@ -26,6 +26,10 @@
{{/ssl}}
+ {{#mapping}}
+
+ {{/mapping}}
+
@@ -47,6 +51,9 @@
{{/ssl}}
+ {{#mapping}}
+
+ {{/mapping}}
diff --git a/modules-available/sysconfig/templates/ad_ldap-checkcredentials.html b/modules-available/sysconfig/templates/ad_ldap-checkcredentials.html
index bf151da3..4f822a9b 100644
--- a/modules-available/sysconfig/templates/ad_ldap-checkcredentials.html
+++ b/modules-available/sysconfig/templates/ad_ldap-checkcredentials.html
@@ -22,6 +22,9 @@
{{/ssl}}
+ {{#mapping}}
+
+ {{/mapping}}
@@ -42,6 +45,9 @@
{{/ssl}}
+ {{#mapping}}
+
+ {{/mapping}}
diff --git a/modules-available/sysconfig/templates/ad_ldap-homedir.html b/modules-available/sysconfig/templates/ad_ldap-homedir.html
index 10a43030..ad543594 100644
--- a/modules-available/sysconfig/templates/ad_ldap-homedir.html
+++ b/modules-available/sysconfig/templates/ad_ldap-homedir.html
@@ -14,6 +14,9 @@
{{/ssl}}
+ {{#mapping}}
+
+ {{/mapping}}
diff --git a/modules-available/sysconfig/templates/ldap-start.html b/modules-available/sysconfig/templates/ldap-start.html
index cbb142ea..223791ea 100644
--- a/modules-available/sysconfig/templates/ldap-start.html
+++ b/modules-available/sysconfig/templates/ldap-start.html
@@ -43,13 +43,27 @@
{{lang_customizeAttrDesc}}
+ {{#mapping}} +