mirror of
https://github.com/Kozea/Radicale.git
synced 2025-04-06 06:37:36 +03:00
Adapt base configuration to use with cranix-server. Only the certificate must be adapted
This commit is contained in:
parent
8d19fd7a64
commit
c5b5910de4
2 changed files with 49 additions and 5 deletions
21
config
21
config
|
@ -15,7 +15,7 @@
|
|||
# IPv4 syntax: address:port
|
||||
# IPv6 syntax: [address]:port
|
||||
# For example: 0.0.0.0:9999, [::]:9999
|
||||
#hosts = localhost:5232
|
||||
hosts = 0.0.0.0:5232
|
||||
|
||||
# Max parallel connections
|
||||
#max_connections = 8
|
||||
|
@ -53,7 +53,22 @@
|
|||
|
||||
# Authentication method
|
||||
# Value: none | htpasswd | remote_user | http_x_remote_user
|
||||
#type = none
|
||||
type = ldap
|
||||
|
||||
# URI to the LDAP server
|
||||
ldap_uri = ldap://localhost
|
||||
|
||||
# The base DN of the LDAP server
|
||||
ldap_base = ##BASE_DN##
|
||||
|
||||
# The reader DN of the LDAP server
|
||||
ldap_reader_dn = CN=ossreader,CN=Users,##BASE_DN##
|
||||
|
||||
# Password of the reader DN
|
||||
ldap_secret = ossreader
|
||||
|
||||
# If the ldap groups of the user need to be loaded
|
||||
ldap_load_groups = True
|
||||
|
||||
# Htpasswd filename
|
||||
#htpasswd_filename = /etc/radicale/users
|
||||
|
@ -77,7 +92,7 @@
|
|||
#type = owner_only
|
||||
|
||||
# File for rights management from_file
|
||||
#file = /etc/radicale/rights
|
||||
file = /etc/radicale/rights
|
||||
|
||||
|
||||
[storage]
|
||||
|
|
33
rights
33
rights
|
@ -1,5 +1,34 @@
|
|||
# -*- mode: conf -*-
|
||||
# vim:ft=cfg
|
||||
# Allow all rights for the Administrator
|
||||
[root]
|
||||
user: Administrator
|
||||
collection: .*
|
||||
permissions: RW
|
||||
|
||||
# Allow reading principal collection (same as username)
|
||||
[principal]
|
||||
user: .+
|
||||
collection: {user}
|
||||
permissions: R
|
||||
|
||||
# Allow reading and writing private collection (same as username)
|
||||
[private]
|
||||
user: .+
|
||||
collection: {user}/private/
|
||||
permissions: RW
|
||||
|
||||
# Allow reading and writing calendars and address books that are direct
|
||||
# children of the principal collection for the member of some groups
|
||||
[calendarsWriter]
|
||||
groups: sysadmins,teachers,administration,administrators
|
||||
collection: {user}/[^/]+
|
||||
permissions: rw
|
||||
|
||||
# Allow reading calendars and address books that are direct
|
||||
# children of the principal collection for other users
|
||||
[calendarsReader]
|
||||
user: .+
|
||||
collection: {user}/[^/]+
|
||||
permissions: r
|
||||
|
||||
# Rights management file for Radicale - A simple calendar server
|
||||
#
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue