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