From 1ad19c2db4533c538fcfdc58816107c5baa05a40 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Pavel=20Filipensk=C3=BD?= Date: Fri, 31 Jan 2025 11:22:24 +0100 Subject: [PATCH] docs-xml:manpages: Fix doc for 'net ads setspn' MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Pavel Filipenský Reviewed-by: Andreas Schneider --- docs-xml/manpages/net.8.xml | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/docs-xml/manpages/net.8.xml b/docs-xml/manpages/net.8.xml index 2a7c1487fc9..ca34d322512 100644 --- a/docs-xml/manpages/net.8.xml +++ b/docs-xml/manpages/net.8.xml @@ -1710,35 +1710,37 @@ the following entry types; -ADS setspn <replaceable>SETSPN LIST [machine]</replaceable> +ADS SETSPN LIST <replaceable>[machine]</replaceable> Lists the Windows SPNs stored in the 'machine' Windows AD Computer object. If 'machine' is not specified then computer account for this client is used instead. +Example: net ads setspn list --machine-pass -ADS setspn <replaceable>SETSPN ADD SPN [machine]</replaceable> +ADS SETSPN ADD <replaceable>[machine] SPN</replaceable> Adds the specified Windows SPN to the 'machine' Windows AD Computer object. If 'machine' is not specified then computer account for this client is used instead. +Example: net ads setspn add computername host/computername.example.com -U Administrator%Passw0rd -ADS setspn <replaceable>SETSPN DELETE SPN [machine]</replaceable> +ADS SETSPN DELETE <replaceable>[machine] SPN</replaceable> DELETE the specified Window SPN from the 'machine' Windows AD Computer object. If 'machine' is not specified then computer account for this - client is used - instead. + client is used instead. +Example: net ads setspn delete computername host/computername.example.com -U Administrator%Passw0rd -- 2.47.2