Hi Diego, You need to do the following:
1. Firstly we've got to install the pre-requisite packages required to get Plone talking to LDAP. So we need to install OpenLDAP on the Windows server as follows: i. Download the following Windows installer: http://download.bergmans.us/openldap/openldap-2.2.29/openldap-2.2.29-db-4.3.29- openssl-0.9.8a-win32_Setup.exe ii. Run the installer and install it to an appropriate location. It can be installed as a service but there's no need to have the service start automatically. Also, don't install slurpd. 2. The following lines need to be inserted into the buildout.cfg. The '...' indicates that there will most probably be existing content already in there. Please also observe the indentation as despite looking pretty it also ensures the buildout will work. findlinks = ... http://svn.kmrc.de/download/distribution/contrib/ eggs = ... Products.LDAPUserFolder Products.LDAPMultiPlugins Products.PloneLDAP plone.app.ldap [versions] ... python-ldap = 2.3.9 plone.app.ldap = 1.1 [instance] ... zcml = ... plone.app.ldap And then re-run buildout. Thanks, Tim On Wed, 2010-05-19 at 08:20 -0700, didakus wrote: > I am trying to install Plone 3.2.2 with LDAP on a windows 2003 server. The > installation from the installer is fine. When I then edit the buildout.cfg > to include: plone.app.ldap and run buildout I get this error message: > file Lib\ldap\schema.py (for module ldap.schema) not found > error: Setup script exited with error: Python was built with Visual Studio > 2003; > extensions must be built with a compiler than can generate compatible > binaries. > Visual Studio 2003 was not found on this system. If you have Cygwin > installed, > you can try compiling with MingW32, by passing "-c mingw32" to setup.py. > > I have also tried adding products.ploneLDAP to the buildout in stead of > plone.app.ldap this results in another error from python. Python.exe unable > to locate component. This application has failed to start because > liblber.dll was not found. > > I have been searching everywhere for a solution but haven't found one so > far. Can anyone tell me what my buildout.cfg should look like to get LDAP > installed without the error messages mentioned above. > > If you need more information regarding my setup, let me know. > > Kind regards, D > > _______________________________________________ Setup mailing list [email protected] http://lists.plone.org/mailman/listinfo/setup
