Skip to content

Instantly share code, notes, and snippets.

@simahawk
Created June 3, 2015 10:57
Show Gist options
  • Save simahawk/18d03e5e7714d3bbe170 to your computer and use it in GitHub Desktop.
Save simahawk/18d03e5e7714d3bbe170 to your computer and use it in GitHub Desktop.
LDAP setup via buildout
[buildout]
parts +=
openldap
python-ldap
eggs +=
plone.app.ldap
[openldap]
recipe = zc.recipe.cmmi
url = ftp://ftp.openldap.org/pub/OpenLDAP/openldap-release/openldap-2.4.31.tgz
extra_options = --with-sasl --with-tls --enable-slapd=no
[python-ldap]
recipe = zc.recipe.egg:custom
egg = python-ldap
include-dirs =
${buildout:directory}/parts/openldap/include
library-dirs =
${buildout:directory}/parts/openldap/lib
rpath =
${buildout:directory}/parts/openldap/lib
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment