Description of problem: A call to ldap.get_option(ldap.OPT_X_TLS_CERTFILE) crashes the python interpreter Version-Release number of selected component (if applicable): python-2.5.1-26 python-ldap-2.3.1-3 How reproducible: Always Steps to Reproduce: $ python -c 'import ldap;ldap.get_option(ldap.OPT_X_TLS_CERTFILE)' Actual results: python: Objects/stringobject.c:107: PyString_FromString: Assertion `str != ((void *)0)' failed. Aborted Expected results: A string, something that doesn't break the python interpreter
ldap.OPT_X_TLS_KEYFILE breaks also the interpreter with the same message.
Looks like this was fixed in a later release: Released 2.3.4 2008-03-29 Changes since 2.3.3: Modules/ * Fixed seg fault when calling LDAPObject.get_option() (see SF#1926507, thanks to Matej) Current version in Fedora 10 is 2.3.5. Would you prefer I backport it to Fedora 9?
I found this when experimenting with ldap auth in Moin. I don't use python-ldap frequently and probably I will upgrade to F10, so I think it's ok if you leave it as it is.
Okay, I'll close this then and wait to backport until there's demand.