summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorThomas Bruederli <bruederli@kolabsys.com>2013-01-16 16:52:15 (GMT)
committerThomas Bruederli <bruederli@kolabsys.com>2013-01-16 16:52:15 (GMT)
commit212bb3330b9a6b034771b2449b0d4ed2dcceaa8a (patch)
tree1b1706b6b2444cfbadb49827efdbddb8172af852 /config
parent430a941da05ef9ce8889d916ef82a8703c1a8960 (diff)
downloadkolab-freebusy-212bb3330b9a6b034771b2449b0d4ed2dcceaa8a.tar.gz
Better sample config
Diffstat (limited to 'config')
-rw-r--r--config/config.ini.sample19
1 files changed, 14 insertions, 5 deletions
diff --git a/config/config.ini.sample b/config/config.ini.sample
index 1c4cb5c..ce0dbad 100644
--- a/config/config.ini.sample
+++ b/config/config.ini.sample
@@ -16,14 +16,23 @@ allow[] = ::1
[log]
driver = file
path = ./log
-level = 100 ; Warn
+level = 300 ; Warn
; address directories to resolve email addresses and their f/b source locations
-[directory "ldap-1"]
+
+; try local filesystem first
+[directory "local"]
+type = static
+filter = "@yourdomain"
+fbsource = file:/var/lib/kolab-freebusy/%u.ifb
+
+; local Kolab directory server
+[directory "kolab-ldap"]
type = ldap
-host = ldaps://somehost.tld:389
-bind_dn = "uid=anonymous,o=somehost,o=tld"
-bind_pw = <password>
+host = ldap://localhost:389
+bind_dn = "uid=kolab-service,ou=Special Users,dc=yourdomain,dc=com"
+bind_pw = "<service-bind-pw>"
+base_dn = "dc=yourdomain,dc=com"
filter = "(&(objectClass=kolabInetOrgPerson)(|(uid=%u)(mail=%u)(alias=%u)))"
attributes[] = mail
fbsource = file:/www/kolab-freebusy/data/%mail.ifb