start tls

Michael Ströder michael at
Thu Aug 9 03:34:58 CEST 2001


sorry for following-up so late.

Steffen Ries wrote:
> attached is a small (experimental) patch, which enables
> 'start_tls_s()' in python-ldap.

I built with your patch against OpenLDAP 2.0.11 and did some tests
without StartTLS first.

Everything went well running (with web2ldap) against but it failed when accessing (Novell
DS) or (Netscape DS). I got segmentation faults.

The OpenLDAP 2.0-patches by Konstantin for python-ldap posted before
on the mailing list worked. Maybe you already have a newer version
of your patch?

I checked the shared libs. Seems ok to me.

$ ldd => /usr/local/openldap2/lib/
(0x40023000) => /usr/local/openldap2/lib/
(0x4004e000) => /lib/ (0x40058000) => /usr/lib/ (0x4016b000) => /usr/lib/ (0x40176000) => /usr/lib/
        /lib/ => /lib/ (0x80000000) => /usr/lib/ (0x402f2000) => /lib/ (0x402fa000) => /lib/ (0x402fd000) => /lib/ (0x4032b000) => /lib/ (0x40333000)

> I included Konstanin's patches and the memory leak fixes and have run
> the diff against the current CVS version. David's CIDict patches
> are not included, so I disabled CIDict to get it running with
> python2.1.

We'll drop CIDict anyway.

Ciao, Michael.

More information about the python-ldap mailing list