[Zope] problem with ZOPE products (ldaploginadapter and ldapuserfolder)

walid aoudi aoudiwalid@yahoo.fr
Mon, 14 Apr 2003 17:12:48 +0200 (CEST)


i am using 
zope 2.6.1
python 2.1.3
i have also installed python ldap
i am using the Products LDAPuserFolder and
LDAPLoginAdapter and i have these error messages :
Traceback (most recent call last):
  File
"/usr/local/Zope2/lib/python/OFS/Application.py", line
541, in import_product
    product=__import__(pname, global_dict,
global_dict, silly)
  File
"/usr/local/Zope2/lib/python/Products/LDAPLoginAdapter/__init__.py",
line 13, in ?
    import LDAPLoginAdapter
  File
"/usr/local/Zope2/lib/python/Products/LDAPLoginAdapter/LDAPLoginAdapter.py",
line 23, in ?
    from LDAPShared import LDAPShared, ldap_scopes
  File
"/usr/local/Zope2/lib/python/Products/LDAPLoginAdapter/LDAPShared.py",
line 21, in ?
    import _ldap
ImportError: ˜1G: shared object not open
 


and 
Traceback (most recent call last):
  File
"/usr/local/Zope2/lib/python/OFS/Application.py", line
541, in import_product
    product=__import__(pname, global_dict,
global_dict, silly)
  File
"/usr/local/Zope2/lib/python/Products/LDAPUserFolder/__init__.py",
line 15, in ?
    from LDAPUserFolder import addLDAPUserFolderForm,
\
  File
"/usr/local/Zope2/lib/python/Products/LDAPUserFolder/LDAPUserFolder.py",
line 34, in ?
    from LDAPUser import LDAPUser
  File
"/usr/local/Zope2/lib/python/Products/LDAPUserFolder/LDAPUser.py",
line 20, in ?
    from utils import _verifyUnicode, encoding
  File
"/usr/local/Zope2/lib/python/Products/LDAPUserFolder/utils.py",
line 34, in ?
    ldap_scopes = (ldap.SCOPE_BASE,
ldap.SCOPE_ONELEVEL, ldap.SCOPE_SUBTREE)
AttributeError: 'ldap' module has no attribute
'SCOPE_BASE'


please help i don't know what to do



___________________________________________________________
Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français !
Yahoo! Mail : http://fr.mail.yahoo.com