diff --git a/SOURCES/0003-Allow-logging-longer-lines.patch b/SOURCES/0003-Allow-logging-longer-lines.patch new file mode 100644 index 0000000..302994c --- /dev/null +++ b/SOURCES/0003-Allow-logging-longer-lines.patch @@ -0,0 +1,12 @@ +diff -up a/nslcd/log.c b/nslcd/log.c +--- a/nslcd/log.c.orig 2021-12-06 14:27:05.912471587 +0100 ++++ b/nslcd/log.c 2021-12-06 14:27:35.541779753 +0100 +@@ -230,7 +230,7 @@ void log_log(int pri, const char *format + { + int res; + struct log_cfg *lst; +- char buffer[200]; ++ char buffer[512]; + va_list ap; + #ifndef TLS + char *sessionid, *requestid; diff --git a/SPECS/nss-pam-ldapd.spec b/SPECS/nss-pam-ldapd.spec index 759ed4a..3dbe975 100644 --- a/SPECS/nss-pam-ldapd.spec +++ b/SPECS/nss-pam-ldapd.spec @@ -5,7 +5,7 @@ Name: nss-pam-ldapd Version: 0.9.9 -Release: 4%{?dist} +Release: 5%{?dist} Summary: An nsswitch module which uses directory servers License: LGPLv2+ URL: http://arthurdejong.org/nss-pam-ldapd/ @@ -18,6 +18,7 @@ Source4: nslcd.service # plus, we don't ship the python utilities Patch0001: 0001-Disable-pylint-tests.patch Patch0002: 0002-Watch-for-uint32_t-overflows.patch +Patch0003: 0003-Allow-logging-longer-lines.patch BuildRequires: openldap-devel, krb5-devel BuildRequires: autoconf, automake @@ -107,6 +108,9 @@ getent passwd nslcd > /dev/null || \ %systemd_postun_with_restart nslcd.service %changelog +* Mon Dec 6 2021 Tomas Halman - 0.9.9-5 +- Resolves: rhbz#2028914 - nslcd prints only 200 characters in error message + * Mon Sep 20 2021 Tomas Halman - 0.9.9-4 - moving temp files from /var/run to /run - Resolves: rhbz#1969826 - tmpfiles snippet needs updated path for