[python-ldap] Assertion Failed Error

Michael Ströder michael at stroeder.com
Fri Sep 12 19:45:38 CEST 2014


Cantu, Liza J wrote:
> python: references.c:33: ldap_first_reference: Assertion `( (ld)->ld_options.ldo_valid == 0x2 )' failed. Aborted
> 
> My project uses Python 2.6, Django 1.4.14, and python ldap 2.3.12.

Which libldap (OpenLDAP client libs) is this? And the OS?

Note that python-ldap 2.3.12 was released four years ago and that some strange
things can happen on various platforms because e.g. Debian and RedHat don't
link libldap against OpenSSL. They are using GnuTLS (Debian) or libnss (RHEL
6.x) instead.

So I'd recommend to try without TLS to rule out those issues.

Ciao, Michael.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2398 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://mail.python.org/pipermail/python-ldap/attachments/20140912/2566bda2/attachment-0001.bin>


More information about the python-ldap mailing list