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

Jens Vagelpohl jens@zope.com
Mon, 14 Apr 2003 17:27:44 -0400


the LDAPLoginAdapter is *not* compatible with the latest zope versions. =20=

it was made for zope 2.3.

jens


On Monday, Apr 14, 2003, at 11:12 US/Eastern, walid aoudi wrote:

> 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=3D__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/=20
> 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: =981G=08: 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=3D__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/=20
> 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 =3D (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=E7ais !
> Yahoo! Mail : http://fr.mail.yahoo.com
>
> _______________________________________________
> Zope maillist  -  Zope@zope.org
> http://mail.zope.org/mailman/listinfo/zope
> **   No cross posts or HTML encoding!  **
> (Related lists -
>  http://mail.zope.org/mailman/listinfo/zope-announce
>  http://mail.zope.org/mailman/listinfo/zope-dev )