Red Hat Bugzilla – Bug 243264
Python aborts when using ldap module.
Last modified: 2007-11-30 17:12:06 EST
Description of problem:
ldap.initialize() method fails.
Version-Release number of selected component (if applicable):
$ rpm -q python python-ldap
Steps to Reproduce:
Run attached script as 'python pyldap.py'.
Python finishes normally.
This is attributed to the fact that version of python-ldap is old.
46 Released 2.2.1 2006-11-15
48 Changes since 2.2.0:
51 * Fix for Python 2.5 free(): invalid pointer (see SF#1575329)
52 * passwd() accepts None for arguments user, oldpw, newpw
53 (see SF#1440151)
Created attachment 156562 [details]
Script to reproduce.
I've upgrade python-ldap in Rawhide to 2.3, but I'm a little hesitant about
bumping the version in a stable distro like Fedora 7. Are there API changes
between 2.2.0 and 2.3 that may break applications?
Thanks for the swift response. I compared the differences between output of
pydoc python-ldap-2.2.0 and python-ldap-2.3. There is API addition but it
seems to there is no API changes.
Thanks for looking into it. That seems pretty safe, and according to repoquery
only sabayon and luma use python-ldap. I'll submit an update for Fedora 7 and
see if anyone objects.
python-ldap-2.3-1.fc7 has been pushed to the Fedora 7 testing repository. If problems still persist, please make note of it in this bug report.
This problem has been solved. Thank you for your cooperation.
python-ldap-2.3-1.fc7 has been pushed to the Fedora 7 stable repository. If problems still persist, please make note of it in this bug report.