[Plone-IT] autenticazione con ldap

SauZheR sauzher a gmail.com
Mar 16 Mar 2010 13:39:09 UTC


ciao, io ho dovuto pinnare la versione di python_ldap ad una meno recente,
piu' precisamente: la 2.3.9, che comunque soddisfa il vincolo =>2.0.6

Puoi anche installarla via easy_install, pero' poi occhio a non dare -n al
bin/buildout ma -N

facce sape',
alessandro.



2010/3/16 Giacomo Zanobini <g.zanobini a arpat.toscana.it>

>  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
>
>
>
>
>
>
> _______________________________________________
> Plone-IT mailing list
> Plone-IT a lists.plone.org
> http://lists.plone.org/mailman/listinfo/plone-it
> http://www.nabble.com/Plone---Italy-f21728.html
>



-- 
 bye
SauZheR
************************************
l'iterazione č umana...
la ricorsione, Divina!
************************************
reply to: sauzher AT gmail DOT com
-------------- parte successiva --------------
Un allegato HTML č stato rimosso...
URL: <http://lists.plone.org/pipermail/plone-plone-it/attachments/20100316/b07ac7f7/attachment.html>


Maggiori informazioni sulla lista Plone-IT