fix-ldap-so-path.diff: Specify the path to ldap.so again, and use multiarch path.

This commit is contained in:
Timo Aaltonen
2023-02-21 21:39:44 +02:00
parent b0af80ed4b
commit 7dbd57586e
3 changed files with 14 additions and 0 deletions

2
debian/changelog vendored
View File

@@ -5,6 +5,8 @@ freeipa (4.10.1+dfsg1-1) UNRELEASED; urgency=medium
* patches: Specify krb5_keytab in the named.conf template.
* copyright, watch: Filter prebuilt html documentation from the
tarball.
* fix-ldap-so-path.diff: Specify the path to ldap.so again, and use
multiarch path.
-- Timo Aaltonen <tjaalton@debian.org> Tue, 21 Feb 2023 10:13:42 +0200

11
debian/patches/fix-ldap-so-path.diff vendored Normal file
View File

@@ -0,0 +1,11 @@
--- a/ipaplatform/debian/paths.py
+++ b/ipaplatform/debian/paths.py
@@ -79,7 +79,7 @@ class DebianPathNamespace(BasePathNamesp
UPDATE_CA_TRUST = "/usr/sbin/update-ca-certificates"
BIND_LDAP_DNS_IPA_WORKDIR = "/var/cache/bind/dyndb-ldap/ipa/"
BIND_LDAP_DNS_ZONE_WORKDIR = "/var/cache/bind/dyndb-ldap/ipa/master/"
- BIND_LDAP_SO = "ldap.so"
+ BIND_LDAP_SO = "/usr/lib/{0}/bind/ldap.so".format(MULTIARCH)
LIBARCH = "/{0}".format(MULTIARCH)
LIBSOFTHSM2_SO = "/usr/lib/{0}/softhsm/libsofthsm2.so".format(MULTIARCH)
PAM_KRB5_SO = "/usr/lib/{0}/security/pam_krb5.so".format(MULTIARCH)

View File

@@ -6,3 +6,4 @@ dnssec-race-wa.diff
fix-sssd-socket-activation.diff
# send upstream
fix-ldap-so-path.diff