[packages/openldap] Up to 2.6.16

arekm arekm at pld-linux.org
Wed Nov 11 23:35:28 CET 2026


commit a39b419a056b32cb571a7fdc0a8fcdc24d3323ec
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Wed Nov 11 23:31:01 2026 +0100

    Up to 2.6.16
    
    Fix back-wt online adds with WiredTiger 11 (read-uncommitted writes).

 openldap-wt-add-snapshot.patch | 14 ++++++++++++++
 openldap.spec                  |  8 +++++---
 2 files changed, 19 insertions(+), 3 deletions(-)
---
diff --git a/openldap.spec b/openldap.spec
index 69f6738..014377e 100644
--- a/openldap.spec
+++ b/openldap.spec
@@ -23,12 +23,12 @@ Summary(pt_BR.UTF-8):	Clientes e servidor para LDAP
 Summary(ru.UTF-8):	Образцы клиентов LDAP
 Summary(uk.UTF-8):	Зразки клієнтів LDAP
 Name:		openldap
-Version:	2.6.13
-Release:	3
+Version:	2.6.16
+Release:	1
 License:	OpenLDAP Public License
 Group:		Networking/Daemons
 Source0:	https://www.openldap.org/software/download/OpenLDAP/openldap-release/%{name}-%{version}.tgz
-# Source0-md5:	761be850c8ff85dbf5031af7c6c6da44
+# Source0-md5:	29ae21afb3877bbf77d055698127452b
 
 Source2:	ldap.init
 Source3:	%{name}.sysconfig
@@ -61,6 +61,7 @@ Patch24:	%{name}-default_cacert_path.patch
 Patch25:	%{name}-system-lmdb.patch
 Patch26:	%{name}-slapd_for_symbols_check.patch
 Patch27:	clean-libs.patch
+Patch28:	%{name}-wt-add-snapshot.patch
 URL:		https://www.openldap.org/
 BuildRequires:	autoconf >= 2.69
 BuildRequires:	automake
@@ -1203,6 +1204,7 @@ Nakładka śledząca wywołania nakładek.
 # test if needed
 #%%patch -P26 -p1
 %patch -P27 -p1
+%patch -P28 -p1
 
 %if %{with krb5}
 %patch -P17 -p1
diff --git a/openldap-wt-add-snapshot.patch b/openldap-wt-add-snapshot.patch
new file mode 100644
index 0000000..42dbdfa
--- /dev/null
+++ b/openldap-wt-add-snapshot.patch
@@ -0,0 +1,14 @@
+WiredTiger >= 11 rejects writes in read-uncommitted transactions;
+wt_add then fails every online add with err=80 (ENOTSUP).
+
+--- a/servers/slapd/back-wt/add.c	2026-11-11 23:27:09.299999999 +0100
++++ b/servers/slapd/back-wt/add.c	2026-11-11 23:27:09.309368399 +0100
+@@ -260,7 +260,7 @@
+ 		goto return_results;
+ 	}
+ 
+-	rc = wc->session->begin_transaction(wc->session, "isolation=read-uncommitted");
++	rc = wc->session->begin_transaction(wc->session, "isolation=snapshot");
+ 	if( rc ) {
+ 		Debug( LDAP_DEBUG_TRACE, "wt_add: begin_transaction failed: %s (%d)\n",
+ 			   wiredtiger_strerror(rc), rc );
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/openldap.git/commitdiff/a39b419a056b32cb571a7fdc0a8fcdc24d3323ec



More information about the pld-cvs-commit mailing list