start tls

Steffen Ries steffen.ries at
Thu Aug 9 13:07:05 CEST 2001

Michael Ströder <michael at> writes:

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

Hmmmm. I don't have problems with it:

>>> import ldap
>>> s ='')
>>> s.simple_bind_s('','')
>>> s.search_s('', ldap.SCOPE_ONELEVEL, 'objectclass=*', ['objectclass'])
[('C=NL', {'objectclass': ['top',...

Can you run python inside gdb to get a traceback? Or give me more
details how you got the segfaults?

> 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?

No newer version, I can redo the diffs against CVS, but I'm not sure
whether this would help.

> 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/
> (0x4022e000)
>         /lib/ => /lib/ (0x80000000)
> => /usr/lib/ (0x402f2000)
> => /lib/ (0x402fa000)
> => /lib/ (0x402fd000)
> => /lib/ (0x4032b000)
> => /lib/ (0x40333000)

looks fine. on my Redhat 7.1 system I get and instead, but I don't think that would make a difference. is symlinked to (same for,
i.e. openldap-2.0.11


More information about the python-ldap mailing list