Loading README.md +1 −3 Original line number Diff line number Diff line Loading @@ -28,15 +28,13 @@ uv run --with=ldap3 --python 3.12 python ```python import ssl from ldap3 import Tls, Server TLS_CONFIGURATION = Tls(validate=ssl.CERT_REQUIRED) ``` For the CL account, use: ```python ldap_server_url = "ldaps://ldap2.cl.uni-heidelberg.de" server = Server(ldap_server_url, use_ssl=True, tls=TLS_CONFIGURATION) server = Server(ldap_server_url, use_ssl=True, tls=Tls(validate=ssl.CERT_REQUIRED)) ``` For the Uni ID, use: Loading Loading
README.md +1 −3 Original line number Diff line number Diff line Loading @@ -28,15 +28,13 @@ uv run --with=ldap3 --python 3.12 python ```python import ssl from ldap3 import Tls, Server TLS_CONFIGURATION = Tls(validate=ssl.CERT_REQUIRED) ``` For the CL account, use: ```python ldap_server_url = "ldaps://ldap2.cl.uni-heidelberg.de" server = Server(ldap_server_url, use_ssl=True, tls=TLS_CONFIGURATION) server = Server(ldap_server_url, use_ssl=True, tls=Tls(validate=ssl.CERT_REQUIRED)) ``` For the Uni ID, use: Loading