summaryrefslogtreecommitdiff
path: root/hosted-kolab/04-add-kolab-hosting-section.sh
blob: 13fbbc63e5723605e0cca5fe452340e38776164d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/bash

 . ./settings.sh

(
    echo ""
    echo "[kolab_hosting]"
    echo "primary_domain = ${hosted_domain}"
    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