2011-05-07 12:52:54 +02:00
|
|
|
# -*- mode: conf -*-
|
|
|
|
# vim:ft=cfg
|
|
|
|
|
2010-08-04 01:27:40 +02:00
|
|
|
# Config file for Radicale - A simple calendar server
|
2010-08-04 00:08:08 +02:00
|
|
|
#
|
|
|
|
# Place it into /etc/radicale/config (global)
|
|
|
|
# or ~/.config/radicale/config (user)
|
|
|
|
#
|
|
|
|
# The current values are the default ones
|
|
|
|
|
2011-05-07 12:52:54 +02:00
|
|
|
|
2010-08-04 00:08:08 +02:00
|
|
|
[server]
|
2011-04-02 21:45:45 +02:00
|
|
|
# CalDAV server hostnames separated by a comma
|
2011-04-02 21:49:48 +02:00
|
|
|
# IPv4 syntax: address:port
|
|
|
|
# IPv6 syntax: [address]:port
|
2011-04-02 21:45:45 +02:00
|
|
|
# IPv6 adresses are configured to only allow IPv6 connections
|
2011-04-02 21:49:48 +02:00
|
|
|
hosts = 0.0.0.0:5232
|
2010-08-04 00:08:08 +02:00
|
|
|
# Daemon flag
|
|
|
|
daemon = False
|
2011-05-13 22:50:55 +02:00
|
|
|
# File storing the PID in daemon mode
|
|
|
|
pid =
|
2010-08-04 00:08:08 +02:00
|
|
|
# SSL flag, enable HTTPS protocol
|
|
|
|
ssl = False
|
2011-04-25 16:47:42 +02:00
|
|
|
# SSL certificate path
|
2010-08-04 00:08:08 +02:00
|
|
|
certificate = /etc/apache2/ssl/server.crt
|
2011-04-25 16:47:42 +02:00
|
|
|
# SSL private key
|
2010-08-04 00:08:08 +02:00
|
|
|
key = /etc/apache2/ssl/server.key
|
2012-03-13 09:35:01 +01:00
|
|
|
# Reverse DNS to resolve client address in logs
|
|
|
|
dns_lookup = True
|
2010-08-04 00:08:08 +02:00
|
|
|
|
2011-10-03 00:31:15 +02:00
|
|
|
|
2010-08-04 00:08:08 +02:00
|
|
|
[encoding]
|
|
|
|
# Encoding for responding requests
|
|
|
|
request = utf-8
|
2012-01-25 14:53:46 +01:00
|
|
|
# Encoding for storing local collections
|
2010-08-04 00:08:08 +02:00
|
|
|
stock = utf-8
|
|
|
|
|
2011-10-03 00:31:15 +02:00
|
|
|
|
2012-08-08 18:29:09 +02:00
|
|
|
[auth]
|
|
|
|
# Authentication method
|
2011-08-29 11:55:56 +02:00
|
|
|
# Value: None | htpasswd | LDAP | PAM | courier
|
2011-04-10 18:17:06 +02:00
|
|
|
type = None
|
2011-10-03 00:31:15 +02:00
|
|
|
|
2012-01-25 14:53:46 +01:00
|
|
|
# Usernames used for public collections, separated by a comma
|
2011-06-13 22:15:52 +02:00
|
|
|
public_users = public
|
2012-01-25 14:53:46 +01:00
|
|
|
# Usernames used for private collections, separated by a comma
|
2011-06-13 22:15:52 +02:00
|
|
|
private_users = private
|
2011-10-03 00:31:15 +02:00
|
|
|
|
2011-04-25 16:47:42 +02:00
|
|
|
# Htpasswd filename
|
|
|
|
htpasswd_filename = /etc/radicale/users
|
|
|
|
# Htpasswd encryption method
|
2010-08-04 00:08:08 +02:00
|
|
|
# Value: plain | sha1 | crypt
|
2011-04-25 16:47:42 +02:00
|
|
|
htpasswd_encryption = crypt
|
2011-10-03 00:31:15 +02:00
|
|
|
|
2011-04-25 16:47:42 +02:00
|
|
|
# LDAP server URL, with protocol and port
|
|
|
|
ldap_url = ldap://localhost:389/
|
|
|
|
# LDAP base path
|
|
|
|
ldap_base = ou=users,dc=example,dc=com
|
|
|
|
# LDAP login attribute
|
|
|
|
ldap_attribute = uid
|
2012-03-10 10:05:23 +01:00
|
|
|
# LDAP filter string
|
|
|
|
# placed as X in a query of the form (&(...)X)
|
|
|
|
# example: (objectCategory=Person)(objectClass=User)(memberOf=cn=calenderusers,ou=users,dc=example,dc=org)
|
|
|
|
# leave empty if no additional filter is needed
|
|
|
|
ldap_filter =
|
2011-05-10 14:45:54 +02:00
|
|
|
# LDAP dn for initial login, used if LDAP server does not allow anonymous searches
|
|
|
|
# Leave empty if searches are anonymous
|
|
|
|
ldap_binddn =
|
|
|
|
# LDAP password for initial login, used with ldap_binddn
|
|
|
|
ldap_password =
|
2011-11-29 13:02:20 +01:00
|
|
|
# LDAP scope of the search
|
|
|
|
ldap_scope = OneLevel
|
2011-10-03 00:31:15 +02:00
|
|
|
|
2011-08-14 20:14:53 +02:00
|
|
|
# PAM group user should be member of
|
2011-08-29 11:55:56 +02:00
|
|
|
pam_group_membership =
|
2011-10-03 00:31:15 +02:00
|
|
|
|
|
|
|
# Path to the Courier Authdaemon socket
|
2011-08-29 11:55:56 +02:00
|
|
|
courier_socket =
|
2010-12-02 17:58:56 +01:00
|
|
|
|
2011-10-03 00:31:15 +02:00
|
|
|
|
2012-08-08 18:29:09 +02:00
|
|
|
[rights]
|
|
|
|
# Rights management method
|
2012-08-09 17:32:03 +02:00
|
|
|
# Value: None | owner_only | owner_write
|
2012-08-08 18:29:09 +02:00
|
|
|
type = None
|
|
|
|
|
|
|
|
|
2010-08-04 00:08:08 +02:00
|
|
|
[storage]
|
2012-01-12 02:18:06 +01:00
|
|
|
# Storage backend
|
|
|
|
type = filesystem
|
|
|
|
|
2012-01-25 14:53:46 +01:00
|
|
|
# Folder for storing local collections, created if not present
|
|
|
|
filesystem_folder = ~/.config/radicale/collections
|
2012-01-12 02:18:06 +01:00
|
|
|
|
2011-10-03 00:31:15 +02:00
|
|
|
|
2011-04-10 18:17:06 +02:00
|
|
|
[logging]
|
|
|
|
# Logging configuration file
|
|
|
|
# If no config is given, simple information is printed on the standard output
|
|
|
|
# For more information about the syntax of the configuration file, see:
|
|
|
|
# http://docs.python.org/library/logging.config.html
|
|
|
|
config = /etc/radicale/logging
|
|
|
|
# Set the default logging level to debug
|
2011-05-11 17:09:44 +02:00
|
|
|
debug = False
|
|
|
|
# Store all environment variables (including those set in the shell)
|
|
|
|
full_environment = False
|