summaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-networking/python/python3-ldap_3.4.5.bb
diff options
context:
space:
mode:
authorGyorgy Sarvari <skandigraun@gmail.com>2026-01-15 02:00:46 +1300
committerAnuj Mittal <anuj.mittal@oss.qualcomm.com>2026-01-19 12:15:40 +0530
commit2116f0aff190a43fe65ae817b2833f36bdd127ea (patch)
tree65d6c8db53f07b7ffb1df1765df559b11c15b05c /meta-python/recipes-networking/python/python3-ldap_3.4.5.bb
parentc4fd3d6816694b169334d6cbe0b6e2442febca0f (diff)
downloadmeta-openembedded-2116f0aff190a43fe65ae817b2833f36bdd127ea.tar.gz
python3-ldap: upgrade 3.4.4 -> 3.4.5
Contains fixes for CVE-2025-61911 and CVE-2025-61912 Changelog: Security fixes: - CVE-2025-61911 (GHSA-r7r6-cc7p-4v5m): Enforce str input in ldap.filter.escape_filter_chars with escape_mode=1; ensure proper escaping. - CVE-2025-61912 (GHSA-p34h-wq7j-h5v6): Correct NUL escaping in ldap.dn.escape_dn_chars to \00 per RFC 4514. Fixes: - ReconnectLDAPObject now properly reconnects on UNAVAILABLE, CONNECT_ERROR and TIMEOUT exceptions (previously only SERVER_DOWN), fixing reconnection issues especially during server restarts - Fixed syncrepl.py to use named constants instead of raw decimal values for result types - Fixed error handling in SearchNoOpMixIn to prevent a undefined variable error Tests: - Added comprehensive reconnection test cases including concurrent operation handling and server restart scenarios Doc: - Updated installation docs and fixed various documentation typos - Added ReadTheDocs configuration file Infrastructure: - Add testing and document support for Python 3.13 Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com> (cherry picked from commit 9eabbca90565e4ae790bedeef9a91df1878c6f93) Signed-off-by: Ankur Tyagi <ankur.tyagi85@gmail.com> Signed-off-by: Anuj Mittal <anuj.mittal@oss.qualcomm.com>
Diffstat (limited to 'meta-python/recipes-networking/python/python3-ldap_3.4.5.bb')
-rw-r--r--meta-python/recipes-networking/python/python3-ldap_3.4.5.bb32
1 files changed, 32 insertions, 0 deletions
diff --git a/meta-python/recipes-networking/python/python3-ldap_3.4.5.bb b/meta-python/recipes-networking/python/python3-ldap_3.4.5.bb
new file mode 100644
index 0000000000..bbec490c23
--- /dev/null
+++ b/meta-python/recipes-networking/python/python3-ldap_3.4.5.bb
@@ -0,0 +1,32 @@
1SUMMARY = "Provides a wrapper in Python to LDAP"
2DESCRIPTION = "This module provides access to the LDAP \
3(Lightweight Directory Access Protocol) through Python operations \
4instead of C API. The module mainly acts as a wrapper for the \
5OpenLDAP 2.x libraries. Errors will appear as exceptions."
6HOMEPAGE = "http://www.python-ldap.org/"
7LICENSE = "PSF-2.0"
8LIC_FILES_CHKSUM = "file://LICENCE;md5=36ce9d726d0321b73c1521704d07db1b"
9
10DEPENDS = "python3 openldap cyrus-sasl python3-setuptools-scm-native"
11
12PYPI_PACKAGE = "python_ldap"
13
14inherit pypi python_setuptools_build_meta
15
16SRC_URI[sha256sum] = "b2f6ef1c37fe2c6a5a85212efe71311ee21847766a7d45fcb711f3b270a5f79a"
17
18do_configure:prepend() {
19 sed -i -e 's:^library_dirs =.*::' \
20 -e 's:^include_dirs =.*:include_dirs = =/usr/include/sasl/:' \
21 -e 's/= ldap_r/= ldap/g' ${S}/setup.cfg
22}
23
24RDEPENDS:${PN} = " \
25 python3-pprint \
26 python3-pyasn1 \
27 python3-pyasn1-modules \
28 python3-threading \
29 python3-unittest \
30"
31
32CVE_PRODUCT = "python-ldap"