Re: openldap -- syncrepl and dynamic backend modules (SOLVED)
On Saturday 26 May 2007 14:14, Vijay Sankar wrote:
> I have been using the openldap (openldap-server-2.3.33p1-bdb) from
> ports and it works great when I use slurpd for replication.
> I would like to use syncrepl instead of slurpd, just to see what the
> benefits are. However I don't know how to enable the dynamic backend
> modules since they are not installed in /usr/local/libexec/openldap.
> I tried to modify the Makefile with --enable-overlays
> and --enable-modules but those attempts went down in flames.
> Is it possible to use syncrepl with openldap-server-2.3.33p1 on
> OpenBSD 4.1? What are the steps? Please let me know if you are able
> to help.
Just in case someone searches these archives looking to see how to do
syncrepl with OpenLDAP on OpenBSD, here is what I had to do to add all
the overlays, and backends, and so on. Normally I prefer using only the
packages that are on the OpenBSD CD or using ports. I compiled OpenLDAP
from source only because I do not know how to enable the dynamic
modules and overlays when OpenLDAP is installed from packages -- so
quite possibly there are much simpler ways of doing this and probably
there are many good reasons why the ports maintainer did not want to
enable overlays (if that is indeed the case). I will be grateful for
any corrections/suggestions or if you have any thoughts on what other
approaches would have been more appropriate than the stuff below.
Did a 'make depend' after the command above completed successfully and
then a 'make test' to verify that everything especially syncrepl
(test017 for refresh, test018 for persist, test019 for cascade, test043
for delta-syncrepl) works properly for the different backends on