Who is using python-ldap with Python 1.5.x and 2.0-2.2?

Ryan Lovett ryan at stat.Berkeley.EDU
Mon Jun 16 20:39:24 CEST 2008


On Mon, Jun 16, 2008 at 07:48:33PM +0200, Michael Ströder wrote:
> Ryan Lovett wrote:
> > We're using the versions that ship with any Ubuntu LTS.
> 
> Can you please explain what that means for the Python versions available 
> in the Ubuntu repository?
 
http://packages.ubuntu.com/python-ldap gives a good overview. LTS means
"long term support" where Ubuntu pledges to support the release for 5
years. (https://wiki.ubuntu.com/LTS) There have been two LTS releases,
dapper (6.06) and hardy (8.04) where

http://packages.ubuntu.com/dapper/python-ldap which is 2.0.4.

http://packages.ubuntu.com/hardy/python-ldap which is 2.3.1.

> I vaguely remember that Ubuntu also uses Debian packages (please correct 
> me if I'm wrong).

That is correct, Ubuntu is a Debian-based distro:
http://www.ubuntu.com/community/ubuntustory/Debian

> And since there were Debian packages heavily patched in May 2007 to still
> work with ancient OpenLDAP libs 2.1 and Debian links OpenLDAP to gnutls
> (which is insecure and sometimes crashes) I don't give any support for
> their python-ldap packages. Even the API might not be compatible...

On an amd64 hardy machine:

$ ldd /usr/lib/python2.5/site-packages/_ldap.so
    linux-vdso.so.1 =>  (0x00007ffff1dfe000)
    libldap_r-2.4.so.2 => /usr/lib/libldap_r-2.4.so.2 (0x00007f4ee97f2000)
    liblber-2.4.so.2 => /usr/lib/liblber-2.4.so.2 (0x00007f4ee95e4000)
    libsasl2.so.2 => /usr/lib/libsasl2.so.2 (0x00007f4ee93ca000)
    libpthread.so.0 => /lib/libpthread.so.0 (0x00007f4ee91ae000)
    libc.so.6 => /lib/libc.so.6 (0x00007f4ee8e4c000)
    libresolv.so.2 => /lib/libresolv.so.2 (0x00007f4ee8c35000)
    libgnutls.so.13 => /usr/lib/libgnutls.so.13 (0x00007f4ee89b1000)
    libdl.so.2 => /lib/libdl.so.2 (0x00007f4ee87ad000)
    /lib64/ld-linux-x86-64.so.2 (0x00007f4ee9c63000)
    libtasn1.so.3 => /usr/lib/libtasn1.so.3 (0x00007f4ee859c000)
    libz.so.1 => /usr/lib/libz.so.1 (0x00007f4ee8385000)
    libgcrypt.so.11 => /lib/libgcrypt.so.11 (0x00007f4ee8137000)
    libgpg-error.so.0 => /lib/libgpg-error.so.0 (0x00007f4ee7f33000)

I'm sure the gnutls folks would welcome your bug reports about its security
and stability. All in your abundant spare time of course. :)

https://savannah.gnu.org/support/?group=gnutls
http://www.gnu.org/software/gnutls/bugs.html

Ryan



More information about the python-ldap mailing list