From 0a354ad0b2c9eaaa204c31db478da109dc6d2a8b Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Fri, 19 Apr 2024 19:20:02 +0200 Subject: Adding debian version 2:4.20.0+dfsg-1~exp1. Signed-off-by: Daniel Baumann --- .../lower-dns-lookup-mismatch-messages.patch | 34 ++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 debian/patches/lower-dns-lookup-mismatch-messages.patch (limited to 'debian/patches/lower-dns-lookup-mismatch-messages.patch') diff --git a/debian/patches/lower-dns-lookup-mismatch-messages.patch b/debian/patches/lower-dns-lookup-mismatch-messages.patch new file mode 100644 index 0000000..ae6c197 --- /dev/null +++ b/debian/patches/lower-dns-lookup-mismatch-messages.patch @@ -0,0 +1,34 @@ +From: Michael Tokarev +Date: Fri, 01 Mar 2024 16:16:20 +0300 +Subject: lower dns lookup mismatch messages + +There's just too much useless noise in the logs, +especially when the PTR record just doesn't exist. + +Signed-off-by: Michael Tokarev + +diff --git a/source3/lib/util_sock.c b/source3/lib/util_sock.c +index 5ff875c230d..b9237c3797e 100644 +--- a/source3/lib/util_sock.c ++++ b/source3/lib/util_sock.c +@@ -710,5 +710,5 @@ static bool matchname(const char *remotehost, + (!strequal(remotehost, ailist->ai_canonname) && + !strequal(remotehost, "localhost"))) { +- DEBUG(0,("matchname: host name/name mismatch: %s != %s\n", ++ DEBUG(5,("matchname: host name/name mismatch: %s != %s\n", + remotehost, + ailist->ai_canonname ? +@@ -736,5 +736,5 @@ static bool matchname(const char *remotehost, + */ + +- DEBUG(0,("matchname: host name/address mismatch: %s != %s\n", ++ DEBUG(5,("matchname: host name/address mismatch: %s != %s\n", + print_sockaddr_len(addr_buf, + sizeof(addr_buf), +@@ -892,5 +892,5 @@ int get_remote_hostname(const struct tsocket_address *remote_address, + } else { + if (!matchname(name_buf, (struct sockaddr *)&ss, len)) { +- DEBUG(0,("matchname failed on %s\n", name_buf)); ++ DEBUG(5,("matchname failed on %s\n", name_buf)); + strlcpy(name_buf, "UNKNOWN", sizeof(name_buf)); + } -- cgit v1.2.3