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