Blame SOURCES/0001-tools-add-missing-use-ldaps-option-to-update-and-tes.patch

436d93
From 76ca1e6737742208d83e016d43a3379e378f8d90 Mon Sep 17 00:00:00 2001
436d93
From: Sumit Bose <sbose@redhat.com>
436d93
Date: Wed, 14 Oct 2020 17:44:10 +0200
436d93
Subject: [PATCH] tools: add missing use-ldaps option to update and testjoin
436d93
436d93
When adding the use-ldaps option the update and testjoin sub-commands
436d93
were forgotten.
436d93
436d93
Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1883467
436d93
---
436d93
 tools/computer.c | 2 ++
436d93
 1 file changed, 2 insertions(+)
436d93
436d93
diff --git a/tools/computer.c b/tools/computer.c
436d93
index 24ea258..5a97d8b 100644
436d93
--- a/tools/computer.c
436d93
+++ b/tools/computer.c
436d93
@@ -491,6 +491,7 @@ adcli_tool_computer_update (adcli_conn *conn,
436d93
 	struct option options[] = {
436d93
 		{ "domain", required_argument, NULL, opt_domain },
436d93
 		{ "domain-controller", required_argument, NULL, opt_domain_controller },
436d93
+		{ "use-ldaps", no_argument, 0, opt_use_ldaps },
436d93
 		{ "host-fqdn", required_argument, 0, opt_host_fqdn },
436d93
 		{ "computer-name", required_argument, 0, opt_computer_name },
436d93
 		{ "host-keytab", required_argument, 0, opt_host_keytab },
436d93
@@ -612,6 +613,7 @@ adcli_tool_computer_testjoin (adcli_conn *conn,
436d93
 	struct option options[] = {
436d93
 		{ "domain", required_argument, NULL, opt_domain },
436d93
 		{ "domain-controller", required_argument, NULL, opt_domain_controller },
436d93
+		{ "use-ldaps", no_argument, 0, opt_use_ldaps },
436d93
 		{ "host-keytab", required_argument, 0, opt_host_keytab },
436d93
 		{ "verbose", no_argument, NULL, opt_verbose },
436d93
 		{ "help", no_argument, NULL, 'h' },
436d93
-- 
436d93
2.28.0
436d93