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