Description of problem: ldap.initialize() method fails. Version-Release number of selected component (if applicable): $ rpm -q python python-ldap python-2.5-12.fc7 python-ldap-2.2.0-3 How reproducible: Always Steps to Reproduce: Run attached script as 'python pyldap.py'. Actual results: Python aborts. Expected results: Python finishes normally. Additional info: This is attributed to the fact that version of python-ldap is old. http://python-ldap.cvs.sourceforge.net/python-ldap/python-ldap/CHANGES?view=markup 46 Released 2.2.1 2006-11-15 47 48 Changes since 2.2.0: 49 50 Modules/ 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.