Active directory 将Active Directory与Plone 4集成

Active directory 将Active Directory与Plone 4集成,active-directory,plone,Active Directory,Plone,如何在Ubuntu上将Active Directory与Plone 4集成?我上下搜索了互联网,无法让它工作 我所知道的是,您所要做的就是在buildout.cfg文件中添加plone.app.ldap,然后安装附加组件。但是,每次我这样做时,都会收到一条错误消息。我已经从ubunturepos安装了pythonldap2.3.11,但是当我运行bin/buildout时仍然会出错 当我运行bin/buildount时,它开始获取“PythonLDAP>=2.0.6”的发行版。我不明白为什么我已

如何在Ubuntu上将Active Directory与Plone 4集成?我上下搜索了互联网,无法让它工作

我所知道的是,您所要做的就是在buildout.cfg文件中添加plone.app.ldap,然后安装附加组件。但是,每次我这样做时,都会收到一条错误消息。我已经从ubunturepos安装了pythonldap2.3.11,但是当我运行bin/buildout时仍然会出错

当我运行bin/buildount时,它开始获取“PythonLDAP>=2.0.6”的发行版。我不明白为什么我已经成功地安装和测试了python ldap,它还必须这么做

我有Python 2.6

以下是我在执行bin/buildout时收到的消息:

Getting distribution for 'python-ldap>=2.0.6'.
extra_compile_args: -g
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/controls.py (for module ldap.controls) not found
file Lib/ldap/extop.py (for module ldap.extop) 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/controls.py (for module ldap.controls) not found
file Lib/ldap/extop.py (for module ldap.extop) 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/controls.py (for module ldap.controls) not found
file Lib/ldap/extop.py (for module ldap.extop) not found
file Lib/ldap/schema.py (for module ldap.schema) not found
In file included from Modules/LDAPObject.c:9:0:
Modules/errors.h:8:18: fatal error: lber.h: No such file or directory
compilation terminated.
error: Setup script exited with error: command 'gcc' failed with exit status 1
An error occured when trying to install python-ldap 2.4.3. Look above this message for any errors that were output by easy_install.
While:
  Installing instance.
  Getting distribution for 'python-ldap>=2.0.6'.
Error: Couldn't install: python-ldap 2.4.3
*************** PICKED VERSIONS ****************
[versions]
plone.app.ldap = 1.2.6

#Required by:
#Products.PloneLDAP 1.1
Products.LDAPMultiPlugins = 1.14

#Required by:
#Products.PloneLDAP 1.1
Products.LDAPUserFolder = 2.20

#Required by:
#plone.app.ldap 1.2.6
Products.PloneLDAP = 1.1

#Required by:
#Products.LDAPUserFolder 2.20
dataflake.ldapconnection = 1.2

*************** /PICKED VERSIONS ***************

请告知。

既然您已经实际包含了错误,那么这是一个完全不同的问题。如果没有Aviable,就无法构建python ldap。在任何基于debian的系统上,比如ubuntu,您都可以使用优秀的deb包元数据来完成这项工作

$ sudo apt-get build-dep python-ldap

请在提问时发布错误消息!如果您打算尝试Plone/ActiveDirectory集成,恐怕您需要一些Python方面的经验?那是什么?分配对不起,我对Python一窍不通。我已经在原始帖子中包含了运行bin/buildout.Updated时收到的错误消息,因为您已经提供了详细信息。