Blame SOURCES/0047-ssh-restore-default-debug-level.patch

f55c47
From 2d26c95d78cf43798b54ac8c478b8a9ee41cab39 Mon Sep 17 00:00:00 2001
f55c47
From: Sumit Bose <sbose@redhat.com>
f55c47
Date: Wed, 3 Feb 2021 18:28:29 +0100
f55c47
Subject: [PATCH] ssh: restore default debug level
f55c47
f55c47
The recent change of the default debug level for the main SSSD
f55c47
components affected the ssh helpers sss_ssh_authorizedkeys and
f55c47
sss_ssh_knownhostsproxy as well.
f55c47
f55c47
To avoid any confusion about unexpected debug messages this patch
f55c47
restores to original value for the two helpers.
f55c47
f55c47
Resolves: https://github.com/SSSD/sssd/issues/5488
f55c47
f55c47
Reviewed-by: Alexey Tikhonov <atikhono@redhat.com>
f55c47
---
f55c47
 src/sss_client/ssh/sss_ssh_authorizedkeys.c  | 2 +-
f55c47
 src/sss_client/ssh/sss_ssh_knownhostsproxy.c | 2 +-
f55c47
 2 files changed, 2 insertions(+), 2 deletions(-)
f55c47
f55c47
diff --git a/src/sss_client/ssh/sss_ssh_authorizedkeys.c b/src/sss_client/ssh/sss_ssh_authorizedkeys.c
f55c47
index 8e80f9663..877c00299 100644
f55c47
--- a/src/sss_client/ssh/sss_ssh_authorizedkeys.c
f55c47
+++ b/src/sss_client/ssh/sss_ssh_authorizedkeys.c
f55c47
@@ -32,7 +32,7 @@
f55c47
 int main(int argc, const char **argv)
f55c47
 {
f55c47
     TALLOC_CTX *mem_ctx = NULL;
f55c47
-    int pc_debug = SSSDBG_DEFAULT;
f55c47
+    int pc_debug = SSSDBG_FATAL_FAILURE;
f55c47
     const char *pc_domain = NULL;
f55c47
     const char *pc_user = NULL;
f55c47
     struct poptOption long_options[] = {
f55c47
diff --git a/src/sss_client/ssh/sss_ssh_knownhostsproxy.c b/src/sss_client/ssh/sss_ssh_knownhostsproxy.c
f55c47
index ad6af81d8..1102fd4ab 100644
f55c47
--- a/src/sss_client/ssh/sss_ssh_knownhostsproxy.c
f55c47
+++ b/src/sss_client/ssh/sss_ssh_knownhostsproxy.c
f55c47
@@ -174,7 +174,7 @@ connect_proxy_command(char **args)
f55c47
 int main(int argc, const char **argv)
f55c47
 {
f55c47
     TALLOC_CTX *mem_ctx = NULL;
f55c47
-    int pc_debug = SSSDBG_DEFAULT;
f55c47
+    int pc_debug = SSSDBG_FATAL_FAILURE;
f55c47
     int pc_port = 22;
f55c47
     const char *pc_domain = NULL;
f55c47
     const char *pc_host = NULL;
f55c47
-- 
f55c47
2.21.3
f55c47