[Plone-IT] autenticazione con ldap

Giacomo Zanobini g.zanobini a arpat.toscana.it
Mar 16 Mar 2010 13:25:37 UTC


vorrei rendere possibile l'autenticazione tramite server openldap su 
un'installazione di Plone appena fatta con unified installer (plone 
3.3.2) su Linux CentOs

ho modificato il buildout.cfg in questo modo

> eggs =
>     Plone
>     plone.app.ldap
>
> zcml =
> #    plone.reload
>     plone.app.ldap

gli egg necessari sono stati scaricati, ma quando eseguo il buildout 
ottengo questo risultato:
> [root a centosploneui zeocluster]# bin/buildout -N
> Updating zope2.
> Updating fake eggs
> Updating productdistros.
> Updating zeoserver.
> Installing client1.
> Getting distribution for 'python-ldap>=2.0.6'.
> extra_compile_args:
> extra_objects:
> include_dirs: /opt/openldap-RE24/include /usr/include/sasl
> library_dirs: /opt/openldap-RE24/lib
> libs: ldap_r lber sasl2 ssl crypto
> file Lib/ldap.py (for module ldap) not found
> file Lib/ldap/schema.py (for module ldap.schema) not found
> warning: no files found matching 'Makefile'
> warning: no files found matching 'Modules/LICENSE'
> file Lib/ldap.py (for module ldap) not found
> file Lib/ldap/schema.py (for module ldap.schema) not found
> file Lib/ldap.py (for module ldap) not found
> file Lib/ldap/schema.py (for module ldap.schema) not found
> *In file included from Modules/LDAPObject.c:18:
> /usr/include/sasl/sasl.h:349: warning: function declaration isnāt a 
> prototype
> gcc: unrecognized option '-R/opt/openldap-RE24/lib'*
> /usr/bin/ld: cannot find -lssl
> collect2: ld returned 1 exit status
> error: Setup script exited with error: command '/usr/bin/gcc' failed 
> with exit status 1
> An error occured when trying to install python-ldap 2.3.11.Look above 
> this message for any errors thatwere output by easy_install.
> While:
>   Installing client1.
>   Getting distribution for 'python-ldap>=2.0.6'.
> Error: Couldn't install: python-ldap 2.3.11

qualche hint ?

Giacomo





-------------- parte successiva --------------
Un allegato HTML č stato rimosso...
URL: <http://lists.plone.org/pipermail/plone-plone-it/attachments/20100316/de6ef69e/attachment.html>


Maggiori informazioni sulla lista Plone-IT