When I run this Python script under either 2.5 or 2.4:
import ldap
ds = ldap.initialize("ldap://foobar.ibm.com:636";)
ds.protocol_version = ldap.VERSION2
ds.simple_bind_s()
I get this error:
Traceback (most recent call last):
File "test.py", line 13, in
ds.simple_bind_s();
File "/usr/l
Hi Michael,
Thanks for your help. I ended up dropping my old Ubuntu install and
rebuilt. I got it working just fine now.
It was some sort of library problem as you indicated I am sure. But I never
seem to be able to figure out stuff like that :)
Thanks again.
Robert
On Dec 14, 2007 2:49 AM,
Robert Escorcio wrote:
> I move the older ones (/usr/lib/) to a safe place and now I get
Yupp, this is right since python-ldap 2.3.1 requires OpenLDAP 2.3.x+ to
build.
> File "/usr/lib/python2.4/site-packages/ldap/__init__.py", line 23, in ?
> from _ldap import *
> ImportError: liblber-2.3