From: sudhi n. <lak...@ya...> - 2005-04-15 10:33:13
|
Hello, I have installed openldap2.2.24 successfully and now i want install python-ldap interface, so that i can access LDAP server(In Redhat 9) from Plone using LDAPUserFolder.At this instance i got struck with an error which as follows:- [root@intranet1 python-ldap-2.0.2]# /usr/local/src/Zope-2.7.2-0/bin/python Python 2.3.3 (#1, Apr 14 2005, 11:06:41) [GCC 3.2.2 20030222 (Red Hat Linux 3.2.2-5)] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> import ldap Traceback (most recent call last): File "<stdin>", line 1, in ? File "/usr/local/lib/python2.3/site-packages/ldap/__init__.py", line 46, in ? from functions import open,initialize,init,explode_dn,explode_rdn,get_option,set_option File "/usr/local/lib/python2.3/site-packages/ldap/functions.py", line 34, in ? from ldap.ldapobject import LDAPObject File "/usr/local/lib/python2.3/site-packages/ldap/ldapobject.py", line 43, in ? class SimpleLDAPObject: File "/usr/local/lib/python2.3/site-packages/ldap/ldapobject.py", line 192, in SimpleLDAPObject def sasl_interactive_bind_s(self,who,auth,serverctrls=None,clientctrls=None,sasl_flags=ldap.SASL_QUIET): AttributeError: 'module' object has no attribute 'SASL_QUIET' >>> Help me..................Got struck with this...... Thanks in advance Bye Sudhindra L A Mail me to sud...@ka... ________________________________________________________________________ Yahoo! India Matrimony: Find your life partner online Go to: http://yahoo.shaadi.com/india-matrimony |