Blame SOURCES/0001-delete-do-not-exit-if-keytab-cannot-be-read.patch

ebcf82
From 40d3be22f6e518e4354aa7c3d0278291fcbed32f Mon Sep 17 00:00:00 2001
ebcf82
From: Sumit Bose <sbose@redhat.com>
ebcf82
Date: Fri, 5 Jun 2020 17:06:58 +0200
ebcf82
Subject: [PATCH] delete: do not exit if keytab cannot be read
ebcf82
ebcf82
Reading the keytab is not required when deleting a host object in AD. It
ebcf82
is only needed in the case where the host was added with a manual set
ebcf82
NetBIOS name (--computer-name option) which does not match the short
ebcf82
hostname and no computer name was given at the delete-computer command
ebcf82
line.
ebcf82
ebcf82
Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1840752
ebcf82
---
ebcf82
 tools/computer.c | 2 --
ebcf82
 1 file changed, 2 deletions(-)
ebcf82
ebcf82
diff --git a/tools/computer.c b/tools/computer.c
ebcf82
index 292c4d8..a90c4b2 100644
ebcf82
--- a/tools/computer.c
ebcf82
+++ b/tools/computer.c
ebcf82
@@ -952,8 +952,6 @@ adcli_tool_computer_delete (adcli_conn *conn,
ebcf82
 	if (res != ADCLI_SUCCESS) {
ebcf82
 		warnx ("couldn't lookup domain info from keytab: %s",
ebcf82
 		       adcli_get_last_error ());
ebcf82
-		adcli_enroll_unref (enroll);
ebcf82
-		return -res;
ebcf82
 	}
ebcf82
 
ebcf82
 	res = adcli_conn_connect (conn);
ebcf82
-- 
ebcf82
2.26.2
ebcf82