summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorThomas Bruederli <bruederli@kolabsys.com>2013-01-16 14:37:00 (GMT)
committerThomas Bruederli <bruederli@kolabsys.com>2013-01-16 14:37:00 (GMT)
commita261ddd670c5617c996f4155dfea483228628ca6 (patch)
tree7b2234366da9cabadb2ff6f592b6465d8b40b0a2 /config
downloadkolab-freebusy-a261ddd670c5617c996f4155dfea483228628ca6.tar.gz
Initial import
Diffstat (limited to 'config')
-rw-r--r--config/.gitignore0
-rw-r--r--config/config.ini.sample34
2 files changed, 34 insertions, 0 deletions
diff --git a/config/.gitignore b/config/.gitignore
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/config/.gitignore
diff --git a/config/config.ini.sample b/config/config.ini.sample
new file mode 100644
index 0000000..9bc04c3
--- /dev/null
+++ b/config/config.ini.sample
@@ -0,0 +1,34 @@
+; Kolab Free/Busy Service configuration
+
+; require HTTP authentication to access this service
+[httpauth]
+type = static
+username = <user>
+password = <pass>
+
+; allow privileged access from these IPs
+[trustednetworks]
+allow[] = 127.0.0.1
+allow[] = 192.168.0.
+allow[] = 10.10.
+allow[] = ::1
+
+[log]
+driver = file
+path = ./log
+level = 100 ; Warn
+
+; address directories to resolve email addresses and their f/b source locations
+[directory "ldap-1"]
+type = ldap
+host = ldaps://somehost.tld:389
+bind_dn = "uid=anonymous,o=somehost,o=tld"
+bind_pw = <password>
+filter = "(&(objectClass=kolabInetOrgPerson)(|(uid=%u)(mail=%u)(alias=%u)))"
+attributes[] = mail
+fbsource = file:/www/kolab-freebusy/data/%mail.ifb
+loglevel = 100 ; Debug
+
+[directory "local"]
+type = default
+fbsource = file:/var/lib/kolab-freebusy/%u.ifb