File 0032-samba-data-tool-needs-to-take-an-argument.patch of Package adcli.22052

From d65c1cb7859d121b8773769e878f574469313287 Mon Sep 17 00:00:00 2001
From: George Hartzell <ghartzell@audentestx.com>
Date: Mon, 14 Jan 2019 17:40:42 -0800
Subject: [PATCH 32/34] samba-data-tool needs to take an argument

See https://gitlab.freedesktop.org/realmd/adcli/issues/15

(cherry picked from commit 4bc96c69fbb93eb1fe9fcef6c6d942c296852e03)
---
 tools/computer.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/tools/computer.c b/tools/computer.c
index 07503a9..929f18c 100644
--- a/tools/computer.c
+++ b/tools/computer.c
@@ -373,7 +373,7 @@ adcli_tool_computer_join (adcli_conn *conn,
 		{ "show-details", no_argument, NULL, opt_show_details },
 		{ "show-password", no_argument, NULL, opt_show_password },
 		{ "add-samba-data", no_argument, NULL, opt_add_samba_data },
-		{ "samba-data-tool", no_argument, NULL, opt_samba_data_tool },
+		{ "samba-data-tool", required_argument, 0, opt_samba_data_tool },
 		{ "verbose", no_argument, NULL, opt_verbose },
 		{ "help", no_argument, NULL, 'h' },
 		{ 0 },
@@ -480,7 +480,7 @@ adcli_tool_computer_update (adcli_conn *conn,
 		{ "show-details", no_argument, NULL, opt_show_details },
 		{ "show-password", no_argument, NULL, opt_show_password },
 		{ "add-samba-data", no_argument, NULL, opt_add_samba_data },
-		{ "samba-data-tool", no_argument, NULL, opt_samba_data_tool },
+		{ "samba-data-tool", required_argument, 0, opt_samba_data_tool },
 		{ "verbose", no_argument, NULL, opt_verbose },
 		{ "help", no_argument, NULL, 'h' },
 		{ 0 },
-- 
2.25.1

openSUSE Build Service is sponsored by