Dipl. Ing. Péter Varkoly 1 год назад
Родитель
Сommit
e887b06d21
2 измененных файлов с 2 добавлено и 4 удалено
  1. 1 1
      DOCUMENTATION.md
  2. 1 3
      radicale/auth/ldap.py

+ 1 - 1
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
 

+ 1 - 3
radicale/auth/ldap.py

@@ -25,7 +25,7 @@ Following parameters are needed in the configuration:
 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: