config 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107
  1. # -*- mode: conf -*-
  2. # vim:ft=cfg
  3. # Config file for Radicale - A simple calendar server
  4. #
  5. # Place it into /etc/radicale/config (global)
  6. # or ~/.config/radicale/config (user)
  7. #
  8. # The current values are the default ones
  9. [server]
  10. # CalDAV server hostnames separated by a comma
  11. # IPv4 syntax: address:port
  12. # IPv6 syntax: [address]:port
  13. # IPv6 adresses are configured to only allow IPv6 connections
  14. hosts = 0.0.0.0:5232
  15. # Daemon flag
  16. daemon = False
  17. # File storing the PID in daemon mode
  18. pid =
  19. # SSL flag, enable HTTPS protocol
  20. ssl = False
  21. # SSL certificate path
  22. certificate = /etc/apache2/ssl/server.crt
  23. # SSL private key
  24. key = /etc/apache2/ssl/server.key
  25. # Reverse DNS to resolve client address in logs
  26. dns_lookup = True
  27. [encoding]
  28. # Encoding for responding requests
  29. request = utf-8
  30. # Encoding for storing local collections
  31. stock = utf-8
  32. [auth]
  33. # Authentication method
  34. # Value: None | htpasswd | LDAP | PAM | courier
  35. type = None
  36. # Usernames used for public collections, separated by a comma
  37. public_users = public
  38. # Usernames used for private collections, separated by a comma
  39. private_users = private
  40. # Htpasswd filename
  41. htpasswd_filename = /etc/radicale/users
  42. # Htpasswd encryption method
  43. # Value: plain | sha1 | crypt
  44. htpasswd_encryption = crypt
  45. # LDAP server URL, with protocol and port
  46. ldap_url = ldap://localhost:389/
  47. # LDAP base path
  48. ldap_base = ou=users,dc=example,dc=com
  49. # LDAP login attribute
  50. ldap_attribute = uid
  51. # LDAP filter string
  52. # placed as X in a query of the form (&(...)X)
  53. # example: (objectCategory=Person)(objectClass=User)(memberOf=cn=calenderusers,ou=users,dc=example,dc=org)
  54. # leave empty if no additional filter is needed
  55. ldap_filter =
  56. # LDAP dn for initial login, used if LDAP server does not allow anonymous searches
  57. # Leave empty if searches are anonymous
  58. ldap_binddn =
  59. # LDAP password for initial login, used with ldap_binddn
  60. ldap_password =
  61. # LDAP scope of the search
  62. ldap_scope = OneLevel
  63. # PAM group user should be member of
  64. pam_group_membership =
  65. # Path to the Courier Authdaemon socket
  66. courier_socket =
  67. [rights]
  68. # Rights management method
  69. # Value: None | owner_only | owner_write | from_file
  70. type = None
  71. # File for rights management from_file
  72. file = ~/.config/radicale/rights
  73. [storage]
  74. # Storage backend
  75. type = filesystem
  76. # Folder for storing local collections, created if not present
  77. filesystem_folder = ~/.config/radicale/collections
  78. [logging]
  79. # Logging configuration file
  80. # If no config is given, simple information is printed on the standard output
  81. # For more information about the syntax of the configuration file, see:
  82. # http://docs.python.org/library/logging.config.html
  83. config = /etc/radicale/logging
  84. # Set the default logging level to debug
  85. debug = False
  86. # Store all environment variables (including those set in the shell)
  87. full_environment = False