Date: Mon, 07 Jun 2021 18:29:22 +0800 From: Philip Paeps <philip@freebsd.org> To: Per olof Ljungmark <peo@nethead.se> Cc: ports@FreeBSD.org Subject: Re: Need to revert openldap-server to 2.57 Message-ID: <703C0F82-132E-41A8-955B-CFEFC6C0D63E@freebsd.org> In-Reply-To: <4784372B-1E24-4B2B-BB5F-3104864C1E4C@freebsd.org> References: <bbd334f5-c432-b312-f948-1555b2d524e7@nethead.se> <4784372B-1E24-4B2B-BB5F-3104864C1E4C@freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On 2021-06-07 18:11:10 (+0800), Philip Paeps wrote: > On 2021-06-07 17:47:57 (+0800), Per olof Ljungmark wrote: >> A bit urgent... >> >> After updating to openldap-server 2.59 slapd refuses to start, how = >> can I revert to 2.57 with ports and git while troubleshooting the = >> update? > > You're probably running into the same issue I ran into this weekend = > when I upgraded the FreeBSD.org cluster's ldap-master. > > The problem we had that openldap24-server since 2.4.58_2 wants to = > build all overlays as modules. We use the syncprov module in our = > configuration for replication. That by itself isn't too exciting ... = > except that we also store the configuration inside LDAP. > > I rebuilt openldap24-server without DYNAMIC_MODULES and with SYNCPROV. = > That didn't work either because we expect the mdb backend to be = > loaded as a module. Second try: with DYNAMIC_BACKENDS, without = > DYNAMIC_MODULES, with SYNCPROV. That worked. > > Give that a go. > > Meanwhile, if you have to downgrade, you can always do a pkg install = > /var/db/pkg/openldap-version-that-worked. See also the note in openldap24-server pkg-message delphij added earlier = today. That may help! https://cgit.freebsd.org/ports/commit/net/openldap24-server/files/pkg-mes= sage.in?id=3D42cf9fac0b9265617db78500e19e8f2e5a08b8d4 Philip -- = Philip Paeps Senior Reality Engineer Alternative Enterprises
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?703C0F82-132E-41A8-955B-CFEFC6C0D63E>