TLS context

Jacek Konieczny jajcus at bnet.pl
Mon Nov 12 08:58:03 CET 2001


On Sun, Nov 11, 2001 at 08:24:34PM +0100, Michael Ströder wrote:
> Jacek Konieczny wrote:
> > 
> > import ldap
> > l=ldap.initialize("ldaps://some.ldap.server")
> > l.bind("","")
> > ...
> 
> I really wonder how a validation of the server certificate is done
> in this case...
In this case no validation is made. Some validation would be probably
done if l.tls_* flags were set between ldap.initialize() and l.bind().

Greets,
        Jacek




More information about the python-ldap mailing list