Loading README.md +16 −1 Original line number Diff line number Diff line Loading @@ -30,8 +30,23 @@ 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" ``` For the Uni ID, use: ldap_server_url = ... # Choose one from the table above ```python ldap_server_url = "ldaps://ad.uni-heidelberg.de" ``` Then, run: ``` server = Server(ldap_server_url, use_ssl=True, tls=TLS_CONFIGURATION) ``` Loading Loading
README.md +16 −1 Original line number Diff line number Diff line Loading @@ -30,8 +30,23 @@ 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" ``` For the Uni ID, use: ldap_server_url = ... # Choose one from the table above ```python ldap_server_url = "ldaps://ad.uni-heidelberg.de" ``` Then, run: ``` server = Server(ldap_server_url, use_ssl=True, tls=TLS_CONFIGURATION) ``` Loading