From b1c682de572c81062f00514235982ca404cfac36 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dipl=2E=20Ing=2E=20P=C3=A9ter=20Varkoly?= Date: Mon, 23 Sep 2024 15:46:08 +0200 Subject: [PATCH] Enhance docomentation. Fix imports --- DOCUMENTATION.md | 23 ++++++++++++++++++++++- radicale/auth/ldap.py | 1 + 2 files changed, 23 insertions(+), 1 deletion(-) diff --git a/DOCUMENTATION.md b/DOCUMENTATION.md index e1145fe4..363a0d7a 100644 --- a/DOCUMENTATION.md +++ b/DOCUMENTATION.md @@ -834,10 +834,31 @@ Default: `(cn={0})` ##### ldap_load_groups -Load the ldap groups of the authenticated user. These groups can be used later on to define rights. +Load the ldap groups of the authenticated user. These groups can be used later on to define rights. This also gives you access to the group calendars, if they exist. +* The group calendar will be placed under collection_root_folder/GROUPS +* The name of the calendar directory is the base64 encoded group name. +* The group calneder folders will not be created automaticaly. This must be created manualy. Here you can find a script to create group calneder folders https://github.com/Kozea/Radicale/wiki/LDAP-authentication Default: False +##### ldap_use_ssl + +Use ssl on the ldap connection + +Default: False + +##### ldap_ssl_verify_mode + +The certifikat verification mode. NONE, OPTIONAL or REQUIRED + +Default: REQUIRED + +##### ldap_ssl_ca_file + +The path to the CA file in pem format which is used to certificate the server certificate + +Default: + ##### lc_username Сonvert username to lowercase, must be true for case-insensitive auth diff --git a/radicale/auth/ldap.py b/radicale/auth/ldap.py index 2fd0f6d1..d4dae9e6 100644 --- a/radicale/auth/ldap.py +++ b/radicale/auth/ldap.py @@ -29,6 +29,7 @@ Following parameters controls SSL connections: """ import ssl + from radicale import auth, config from radicale.log import logger