Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F2528454
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
2 KB
Referenced Files
None
Subscribers
None
View Options
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
Details
Attached
Mime Type
text/x-diff
Expires
Sun, Feb 1, 10:36 AM (1 d, 15 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
426670
Default Alt Text
(2 KB)
Attached To
Mode
R28 freebusy
Attached
Detach File
Event Timeline
Log In to Comment