[Gllug] python-ldap broken in SUSE10
Simon Morris
mozrat at gmail.com
Thu Dec 22 13:20:13 UTC 2005
Hello,
Could a SUSE 10 user please confirm that a package is broken..
With python-2.4.1-3 and python-ldap-2.0.8-2 installed I can't get even
the most simple python/LDAP interaction working at all.
#!/usr/bin/python
import ldap
l = ldap.initialize("servername")
Dies with:
Traceback (most recent call last):
File "<stdin>", line 1, in ?
File "/usr/lib/python2.4/site-packages/ldap/functions.py", line 85,
in initialize
return LDAPObject(uri,trace_level,trace_file,trace_stack_limit)
File "/usr/lib/python2.4/site-packages/ldap/ldapobject.py", line 67,
in __init__
self._l = ldap.functions._ldap_function_call(_ldap.initialize,uri)
File "/usr/lib/python2.4/site-packages/ldap/functions.py", line 57,
in _ldap_function_call
result = func(*args,**kwargs)
ldap.LDAPError: (2, 'No such file or directory')
I have strace output and other stuff uploaded to
http://www.beerandspeech.org/uploads/Images/Date/200512/here.tar.gz
Thanks
--
~sm
Jabber: mozrat at gmail.com
www: http://beerandspeech.org
--
Gllug mailing list - Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug
More information about the GLLUG
mailing list