hi thierry, i am not aware of any such problems. as you can see from the tracebacks, the errors originate in the python-ldap libraries. i suggest you try a later version of python-ldap. i have used 2.0.0pre3 and 2.0.0pre4 successfully on python 2.1.2 against openldap 2.0.21 on a redhat 7.2 system. as a side note, you should only use the LDAPUserFolder on a 2.5.0 system. the LDAPLoginAdapter/LDAPUserManager are no longer officially supported by me. jens On Tuesday, February 19, 2002, at 09:42 , Thierry Florac wrote:
Hi !!
I'm currently using : - Zope-2.5.0, - Python-2.1.2 - libldap2-2.0.23 - python-ldap-1.9.999.cvs.20011231
All these packages are installed on a Debian system just upgraded from 'Stable' to 'Testing'.
I'm trying to use several LDAP user managers (LDAPUserFolder,...) or LDAP query tools but as soon as I try to execute any query, I receive an error message :
"python: /usr/local/src/libopenldap/openldap2-2.0.23/libraries/libldap/references. c:26: ldap_first_reference: Assertion `( ( ld )->ld_options.ldo_valid == 0x2 )' failed."
or
"python: /usr/local/src/libopenldap/openldap2-2.0.23/libraries/libldap/error.c:220: ldap_parse_result: Assertion `( ( ld )->ld_options.ldo_valid == 0x2 )' failed."
These errors make Zope restart every time, so these LDAP products are unusable... ; these errors didn't exist with old releases of Zope (2.3.3) and Python (1.5.2).
I've tried to execute a few LDAP queries from within Python interpreter, and they seem to be OK so I think Python-ldap is correctly installed.
Any idea ??
Thanks for any help, Thierry
-- Linux every day, keeps Dr Watson away... http://gpc.sourceforge.net
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )