LDAPUserFolder product fails to register
Dear all, I'm trying to use LDAPUserFolder version 2.1, Zope 2.6.1, openldap 2.1.22, in a Solaris8 machine. When start is called, I get: -- 2003-07-16T13:00:58 ERROR(200) Zope Could not import Products.LDAPUserFolder Traceback (innermost last): File /opt/Zope-2.6.1/lib/python/OFS/Application.py, line 541, in import_product File /opt/Zope-2.6.1/lib/python/Products/LDAPUserFolder/__init__.py, line 15, in ? File /opt/Zope-2.6.1/lib/python/Products/LDAPUserFolder/LDAPUserFolder.py, line 34, in ? File /opt/Zope-2.6.1/lib/python/Products/LDAPUserFolder/LDAPUser.py, line 20, in ? (Object: aq_inner) File /opt/Zope-2.6.1/lib/python/Products/LDAPUserFolder/utils.py, line 26, in ? File /opt/lib/python2.1/site-packages/ldap/__init__.py, line 21, in ? ImportError: ld.so.1: /opt/bin/python: fatal: relocation error: file /opt/lib/libldap.so.2: symbol __eprintf: referenced symbol not found -- Does anybody know what problem I've got w/ libldap.so.2? Regards, -- Gustavo Torres Arquiteto de Gerência de Redes OptiGlobe Rua Bento Branco de Andrade Filho, 621 CEP 04757-000 São Paulo - SP, Brasil Tel: +55 11 21624569 Fax: +55 11 21624547 Cel: +55 11 92675164 Email: gustavo_torres@optiglobe.com.br
Gustavo Torres wrote at 2003-7-16 13:15 -0300:
Dear all, I'm trying to use LDAPUserFolder version 2.1, Zope 2.6.1, openldap 2.1.22, in a Solaris8 machine. When start is called, I get: ... File /opt/lib/python2.1/site-packages/ldap/__init__.py, line 21, in ? ImportError: ld.so.1: /opt/bin/python: fatal: relocation error: file /opt/lib/libldap.so.2: symbol __eprintf: referenced symbol not found -- Does anybody know what problem I've got w/ libldap.so.2?
When I remember right, "__eprintf" is a "GNUC" extension function. "gcc" generates calls to it. It is defined in "libgcc.so". Apparently, your "libldap.so.2" has been compiled with "gcc" and therefore needs the "libgcc.so" at runtime. Apparently, the link run that produced "libldap.so.2" did not include "-lgcc" (maybe because "LD" was used for linking rather than "gcc"). Therefore, "libgcc.so" is not loaded. Dieter
Yes, I realized libgcc wasn't referenced by libldap, using ldd. The problem is already solved. Now, I'm facing a strange problem: when I use a Zope server in a linux box, I'm able to create a LDAP user folder and authenticate users. But when I use the Solaris server, I get: -- Error Type: INSUFFICIENT_ACCESS Error Value: {'desc': 'Insufficient access', 'info': ''} -- Is there any place I can look for more information? The error log doesn't tell much to me. Regards, -- Gustavo Torres Arquiteto de Gerência de Redes OptiGlobe Rua Bento Branco de Andrade Filho, 621 CEP 04757-000 São Paulo - SP, Brasil Tel: +55 11 21624569 Fax: +55 11 21624547 Cel: +55 11 92675164 Email: gustavo_torres@optiglobe.com.br
Gustavo Torres wrote at 2003-7-18 16:09 -0300:
Yes, I realized libgcc wasn't referenced by libldap, using ldd. The problem is already solved. Now, I'm facing a strange problem: when I use a Zope server in a linux box, I'm able to create a LDAP user folder and authenticate users. But when I use the Solaris server, I get: -- Error Type: INSUFFICIENT_ACCESS Error Value: {'desc': 'Insufficient access', 'info': ''} -- Is there any place I can look for more information? The error log doesn't tell much to me.
This message comes directly from your LDAP server. It is unwilling to provide the requested information (for an unauthenticated user). Check the LDAP access restriction setup. When I remember right, LDAPUserFolder tries to determine the DistinguishedName through an anonymous query and only then logs in as the given user. If the server rejects the anonymous connect or query, LDAPUserFolder will not work. Dieter
participants (2)
-
Dieter Maurer -
Gustavo Torres