From: \(::\) B. I. <bo...@re...> - 2001-06-17 01:28:47
|
I'm having a problem using python-ldap (redhat linux). ActivePython 2.1, build 210 OpenLDAP 2.0.11 This is with the latest CVS version of python-ldap.. 1.10alpha3 wouldn't compile with OpenLDAP 2.0.11, I haven't found the patch to try it. Any ideas? I've tried using different values for bind and search, and it worked fine if I issued a search that doesn't have any results.. but any search that has results gets that dictobject error, or just core dumps! (from the interpreter) >>> import _ldap >>> l=_ldap.open("localhost") >>> l.simple_bind_s("","") >>> l.search_s("",0,"objectclass=*") Traceback (most recent call last): File "<stdin>", line 1, in ? SystemError: Objects/dictobject.c:471: bad argument to internal function >>> l.search("",0,"objectclass=*") 3 >>> print l.result(3) Segmentation fault (core dumped) It's a weird install of redhat, and I haven't been using RPM's.. so I don't want to try one. I just want to compile it myself and have it work. (::) bob |