Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F1974741
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
4 KB
Referenced Files
None
Subscribers
None
View Options
diff --git a/config/config.ini.sample b/config/config.ini.sample
index 79b31eb..77abec5 100644
--- a/config/config.ini.sample
+++ b/config/config.ini.sample
@@ -1,96 +1,65 @@
;; Kolab Free/Busy Service configuration
-;; Require HTTP authentication to access this service
-[httpauth]
-
-;; 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,
- 192.168.0.0/16,
- 10.10.*,
- ::1
-
-;; Logging configuration
+; Logging configuration
[log]
driver = file ; supported drivers: file, syslog
-path = ./log
+path = ./logs
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
-
-;; try local filesystem first
+;;
+;; try local filesystem first (F/B has been generated externally)
+;;
[directory "local"]
type = static
-filter = "@yourdomain"
+filter = "@example.org"
fbsource = file:/var/lib/kolab-freebusy/%s.ifb
+;;
;; check if primary email address hits a cache file (saves LDAP lookups)
+;;
[directory "local-cache"]
type = static
fbsource = file:/var/cache/kolab-freebusy/%s.ifb
expires = 10m
+;;
;; local Kolab directory server
-[directory "kolab-ldap"]
+;;
+[directory "kolab-people"]
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 = "ou=People,dc=yourdomain,dc=com" ; use %dc as placeholder for the domain part extracted from the request string
-filter = "(&(objectClass=kolabInetOrgPerson)(|(uid=%s)(mail=%s)(alias=%s)))"
-attributes = mail, sn, alias
-lc_attributes = sn
-mail_attributes = mail, alias
-fbsource = file:/var/lib/kolab-freebusy/%mail.ifb
-loglevel = 200 ; Info
+host = "ldap://localhost:389"
+bind_dn = "uid=kolab-service,ou=Special Users,dc=example,dc=org"
+bind_pw = "SomePassword"
+base_dn = "ou=People,dc=example,dc=org"
+filter = "(&(objectClass=kolabInetOrgPerson)(|(mail=%s)(alias=%s))"
+attributes[] = mail
+lc_attributes[] = mail
+
+; %s is replaced by the user's result_attribute found
+fbsource = imaps://%s:CyrusAdminPassword@imap.example.org/?proxy_auth=cyrus-admin
+loglevel = 300
+cacheto = /var/cache/kolab-freebusy/%mail.ifb
+expires = 10m
+;;
;; resolve Kolab resources from LDAP and fetch calendar from IMAP
+;;
[directory "kolab-resources"]
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 = "ou=Resources,dc=yourdomain,dc=com"
-filter = "(&(objectClass=kolabsharedfolder)(mail=%s))"
+host = "ldap://localhost:389"
+bind_dn = "uid=kolab-service,ou=Special Users,dc=example,dc=org"
+bind_pw = "SomePassword"
+base_dn = "ou=Resources,dc=example,dc=org"
+filter = "(&(objectClass=kolabsharedfolder)(kolabfoldertype=event)(mail=%s))"
attributes = mail, kolabtargetfolder
-fbsource = "fbdaemon://localhost:<port>?folder=%kolabtargetfolder"
-timeout = 10 ; abort after 10 seconds
-cacheto = /var/cache/kolab-freebusy/%mail.ifb
-expires = 10m
-loglevel = 100 ; Debug
-
-;; external MS Exchange 2010 server
-[directory "exchange"]
-type = static
-filter = "@microsoft.com$"
-fbsource = https://externalhost/free-busy/%s.ics
-format = Exchange2010
-;; further examples of fbsource URIs
-;; - fetch data from another server by HTTP(s)
-; fbsource = "https://fb-service-user:imap-password@kolab-server/freebusy/%mail.ifb"
+; Use the Free/Busy daemon that separates the abuse of credentials
+;fbsource = "fbdaemon://localhost:<port>?folder=%kolabtargetfolder"
+;timeout = 10 ; abort after 10 seconds
-;; - read data from a users calendars (all) using IMAP proxy authentication
-; fbsource = "imap://%mail:<admin-pass>@localhost/?proxy_auth=cyrus-admin"
-
-;; - read data from a shared IMAP folder with cyrus-admin privileges
-; fbsource = "imap://cyrus-admin:<admin-pass>@localhost/%kolabtargetfolder?acl=lrs"
-
-;; - trigger kolab-freebusyd daemon (folder= for shared folders, user= for user mailboxes)
-; fbsource = "fbdaemon://localhost:<port>?folder=%kolabtargetfolder&user=%mail"
+fbsource = "imap://cyrus-admin:CyrusAdminPassword@imap.lhm.klab.cc/%kolabtargetfolder?acl=lrs"
+cacheto = /var/cache/kolab-freebusy/%mail.ifb
+expires = 10m
+loglevel = 300
File Metadata
Details
Attached
Mime Type
text/x-diff
Expires
Sun, Sep 14, 8:36 PM (14 h, 22 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
287405
Default Alt Text
(4 KB)
Attached To
Mode
R28 freebusy
Attached
Detach File
Event Timeline
Log In to Comment