Public bug reported:

Binary package hint: python-ldap

The following script causes a crash in _ldap.so when running on
python2.5:

    import ldap
    for a in [1, 2, 3, 4, 5, 6]:
        print a
        l = ldap.initialize("ldap://localhost";)
        l.bind_s("cn=admin,dc=localdomain", "secret")
        l.unbind_s()

Assuming slapd running on localhost such that auth succeeds. Crash
occurs in calling ldap.initialize the second time. This does not crash
on python2.4.

This is probably the upstream bug #1575329

http://sourceforge.net/tracker/index.php?func=detail&aid=1575329&group_id=2072&atid=102072

which apparently is fixed in python-ldap 2.2.1. Building 2.2.1 from
source indeed fixes the bug for me.

** Affects: python-ldap (Ubuntu)
     Importance: Undecided
         Status: Unconfirmed

-- 
crash on python2.5
https://launchpad.net/bugs/87700

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to