From e1232a8cc533742201c55202a36496a765785bf2 Mon Sep 17 00:00:00 2001
From: hahn <axel.hahn@iml.unibe.ch>
Date: Wed, 6 Dec 2017 16:17:42 +0100
Subject: [PATCH] ldap: add app cn (in eyaml is the base app dn only)

---
 hooks/templates/inc_projects_config.php.erb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/hooks/templates/inc_projects_config.php.erb b/hooks/templates/inc_projects_config.php.erb
index 10de4785..8987cd44 100644
--- a/hooks/templates/inc_projects_config.php.erb
+++ b/hooks/templates/inc_projects_config.php.erb
@@ -70,7 +70,7 @@ $aConfig = array(
             'DnLdapUser' => '<%= @replace["ldap-user"] %>',
             'PwLdapUser' => '<%= @replace["ldap-password"] %>',
             'DnUserNode'   => '<%= @replace["ldap-dn-user"] %>',
-            'DnAppNode'    => 'cn=Access__CI-Webgui-ci_iml_unibe_ch,<%= @replace["ldap-dn-apps"] %>',
+            'DnAppNode'    => '<%= @replace["ldap-cn-apps"] %><%= @replace["ldap-dn-apps"] %>',
             'debugLevel'   => 0,
         )
     ),
-- 
GitLab