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

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