Skip to content

Commit

Permalink
Fix syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
petervarkoly committed Sep 23, 2024
1 parent b1c682d commit e887b06
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion DOCUMENTATION.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
4 changes: 1 addition & 3 deletions radicale/auth/ldap.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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:
Expand Down

0 comments on commit e887b06

Please sign in to comment.