@@ -48,9 +48,9 @@ def __init__(
4848        start_tls = 0 ,
4949        ignore_cert = 0 ,
5050        tls_cacertfile = None ,
51-         #  tls_cacertdir=None,
52-         #  tls_clcertfile=None,
53-         #  tls_clkeyfile=None,
51+         tls_cacertdir = None ,
52+         tls_clcertfile = None ,
53+         tls_clkeyfile = None ,
5454        retry_max = 1 ,
5555        retry_delay = 10.0 ,
5656        multivalued_attributes = MULTIVALUED_DEFAULTS ,
@@ -89,9 +89,11 @@ def __init__(
8989            needed if the CA is not in the default CA keyring (i.e. with 
9090            self-signed certificates). Under Windows its possible that 
9191            python-ldap lib does recognize the system keyring. 
92-         :param tls_cacertdir: Not yet 
93-         :param tls_clcertfile: Not yet 
94-         :param tls_clkeyfile: Not yet 
92+         :param tls_cacertdir: Provide a directory with CA Certificates. 
93+         :param tls_clcertfile: Provide a specific client certificate file to be 
94+             used for client authentication. Requires tls_clkeyfile to be set. 
95+         :param tls_clkeyfile: Provide a specific client key file to be used for 
96+             client authentication. Requires tls_clcertfile to be set. 
9597        :param retry_max: Maximum count of reconnect trials. Value has to be >= 1 
9698        :param retry_delay: Time span to wait between two reconnect trials. 
9799        :param multivalued_attributes: Set of attributes names considered as 
@@ -120,9 +122,9 @@ def __init__(
120122        self .start_tls  =  start_tls 
121123        self .ignore_cert  =  ignore_cert 
122124        self .tls_cacertfile  =  tls_cacertfile 
123-         #  self.tls_cacertdir = tls_cacertdir
124-         #  self.tls_clcertfile = tls_clcertfile
125-         #  self.tls_clkeyfile = tls_clkeyfile
125+         self .tls_cacertdir  =  tls_cacertdir 
126+         self .tls_clcertfile  =  tls_clcertfile 
127+         self .tls_clkeyfile  =  tls_clkeyfile 
126128        self .retry_max  =  retry_max 
127129        self .retry_delay  =  retry_delay 
128130        self .multivalued_attributes  =  multivalued_attributes 
0 commit comments