From e887b06d21b47743a0bfe51b98e8ec44fd74fc46 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:49:58 +0200 Subject: [PATCH] Fix syntax --- DOCUMENTATION.md | 2 +- radicale/auth/ldap.py | 4 +--- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/DOCUMENTATION.md b/DOCUMENTATION.md index 363a0d7a..61a56ebf 100644 --- a/DOCUMENTATION.md +++ b/DOCUMENTATION.md @@ -837,7 +837,7 @@ Default: `(cn={0})` 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 +* The group calneder folders will not be created automaticaly. This must be created manualy. [Here](https://github.com/Kozea/Radicale/wiki/LDAP-authentication) you can find a script to create group calneder folders https://github.com/Kozea/Radicale/wiki/LDAP-authentication Default: False diff --git a/radicale/auth/ldap.py b/radicale/auth/ldap.py index d4dae9e6..3c87561e 100644 --- a/radicale/auth/ldap.py +++ b/radicale/auth/ldap.py @@ -25,7 +25,7 @@ Following parameters controls SSL connections: ldap_use_ssl If the connection ldap_ssl_verify_mode The certifikat verification mode. NONE, OPTIONAL, default is REQUIRED - ldap_ssl_ca_file + ldap_ssl_ca_file """ import ssl @@ -42,12 +42,10 @@ class Auth(auth.BaseAuth): _ldap_filter: str _ldap_load_groups: bool _ldap_version: int = 3 - #SSL stuff _ldap_use_ssl: bool = False _ldap_ssl_verify_mode: int = ssl.CERT_REQUIRED _ldap_ssl_ca_file: str = "" - def __init__(self, configuration: config.Configuration) -> None: super().__init__(configuration) try: