Page MenuHomePhorge

No OneTemporary

Size
2 KB
Referenced Files
None
Subscribers
None
diff --git a/config/config.ini.sample b/config/config.ini.sample
index d7668d9..5eb6607 100644
--- a/config/config.ini.sample
+++ b/config/config.ini.sample
@@ -1,41 +1,53 @@
-; Kolab Free/Busy Service configuration
+;; Kolab Free/Busy Service configuration
-; require HTTP authentication to access this service
+;; Require HTTP authentication to access this service
[httpauth]
-type = static
-username = <user>
-password = <pass>
-; allow privileged access from these IPs
+;; Example for static auth credentials
+; type = static
+; username = "<user>"
+; password = "<pass>"
+
+;; Example for LDAP-based authentication
+; type = ldap
+; 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 = "(&(|(mail=%s)(alias=%s)(uid=%s))(objectclass=inetorgperson))" ; optional, %s is replaced by the username
+
+
+;; Allow privileged access from these IPs
[trustednetworks]
allow[] = 127.0.0.1
-allow[] = 192.168.0.
-allow[] = 10.10.
+allow[] = 192.168.0.0/16
+allow[] = 10.10.*
allow[] = ::1
-; logging configuration
+;; Logging configuration
[log]
-driver = file
+driver = file ; supported drivers: file, syslog
path = ./log
+name = freebusy
level = 300 ; (100 = Debug, 200 = Info, 300 = Warn, 400 = Error, 500 = Critical)
-; Directories to resolve email addresses and their f/b source locations
+;; Directories to resolve email addresses and their f/b source locations
-; try local filesystem first
+;; try local filesystem first
[directory "local"]
type = static
filter = "@yourdomain"
fbsource = file:/var/lib/kolab-freebusy/%u.ifb
-; local Kolab directory server
+;; local Kolab directory server
[directory "kolab-ldap"]
type = ldap
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
loglevel = 100 ; Debug

File Metadata

Mime Type
text/x-diff
Expires
Sun, Feb 1, 3:02 PM (1 d, 16 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
426670
Default Alt Text
(2 KB)

Event Timeline