Active DirectoryをUbuntuのPlone 4とどのように統合しますか?私はインターネットを上下に検索して、これを動作させることはできません!Active DirectoryとPloneの統合4
あなたがしなければならないことは、buildout.cfgファイルに "plone.app.ldap"を追加するだけで、アドオンがインストールされることです。しかし、私がこれを行うたびにエラーメッセージが表示されます。私はPython-ldap 2.3.11をUbuntu reposからインストールしましたが、bin/buildoutを実行するとまだエラーが出ます。
bin/buildountを実行すると、 'python-ldap> = 2.0.6'の配布が開始されます。なぜ私はすでにpython-ldapをインストールして正常にテストしたのですか?
私はPython 2.6を持っています。ここで
は、私はビン/ビルドアウトを実行したときに、私が得るメッセージです:
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 ***************
お知らせください。
質問する際にエラーメッセージを投稿してください。 –
Plone/ActiveDirectoryとの統合を試みる場合は、Pythonでいくつかの経験が必要になることがありますか? – aclark