From 740b83c5ded96904c967d5cd1733ac4c5f408cd6 Mon Sep 17 00:00:00 2001 From: David Coutadeur Date: Fri, 22 Nov 2024 19:02:16 +0100 Subject: [PATCH] Create link to ldapi socket (#128) --- SPECS/openldap-ltb.spec | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/SPECS/openldap-ltb.spec b/SPECS/openldap-ltb.spec index 40afcac..a35b5fc 100644 --- a/SPECS/openldap-ltb.spec +++ b/SPECS/openldap-ltb.spec @@ -368,6 +368,9 @@ sed -i \ sed -i -e 's:^directory.*:directory\t'%{ldapdatadir}':' \ %{buildroot}%{ldapserverdir}/etc/openldap/slapd.conf +# Create link to ldapi socket +ln -s "/var/run/slapd/ldapi" "%{buildroot}%{ldapserverdir}/var/run/ldapi" + # contrib-overlays cd contrib/slapd-modules cd smbk5pwd @@ -687,6 +690,7 @@ fi %{ldapserverdir}/share/man/man5/slapo-valsort.5 %{ldapserverdir}/share/man/man5/slappw-argon2.5 %{ldapserverdir}/share/man/man8/ +%{ldapserverdir}/var/run/ldapi %files devel %{ldapserverdir}/%{_lib}/liblber.so