summaryrefslogtreecommitdiff
path: root/hosted-kolab/04-add-kolab-hosting-section.sh
diff options
context:
space:
mode:
Diffstat (limited to 'hosted-kolab/04-add-kolab-hosting-section.sh')
-rwxr-xr-xhosted-kolab/04-add-kolab-hosting-section.sh14
1 files changed, 14 insertions, 0 deletions
diff --git a/hosted-kolab/04-add-kolab-hosting-section.sh b/hosted-kolab/04-add-kolab-hosting-section.sh
new file mode 100755
index 0000000..9a6ac27
--- /dev/null
+++ b/hosted-kolab/04-add-kolab-hosting-section.sh
@@ -0,0 +1,14 @@
+#!/bin/bash
+
+ . ./settings.sh
+
+(
+ echo ""
+ echo "[kolab_hosting]"
+ echo "primary_domain = demo.kolab.org"
+ echo "bind_dn = uid=hosted-kolab-service,ou=Special Users,${rootdn}"
+ echo "bind_pw = ${hosted_kolab_service_pw}"
+ echo ""
+) >> /etc/kolab/kolab.conf
+
+sed -r -i -e 's/\[kolab_wap\]/[kolab_wap]\ndevel_mode = 1\ndebug_mode = trace/g' /etc/kolab/kolab.conf