]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
docs-xml:manpages: Fix doc for 'net ads setspn'
authorPavel Filipenský <pfilipensky@samba.org>
Fri, 31 Jan 2025 10:22:24 +0000 (11:22 +0100)
committerPavel Filipensky <pfilipensky@samba.org>
Tue, 4 Feb 2025 08:35:33 +0000 (08:35 +0000)
Signed-off-by: Pavel Filipenský <pfilipensky@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
docs-xml/manpages/net.8.xml

index 2a7c1487fc9a4a4058805acb762b76cc0b058b54..ca34d322512dd9b65f95f673e2fd480e9860a604 100644 (file)
@@ -1710,35 +1710,37 @@ the following entry types;
 </refsect2>
 
 <refsect2>
-<title>ADS setspn <replaceable>SETSPN LIST [machine]</replaceable></title>
+<title>ADS SETSPN LIST <replaceable>[machine]</replaceable></title>
 
 <para>
    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.
 </para>
+<para>Example: <userinput>net ads setspn list --machine-pass</userinput></para>
 </refsect2>
 
 <refsect2>
-<title>ADS setspn <replaceable>SETSPN ADD SPN [machine]</replaceable></title>
+<title>ADS SETSPN ADD <replaceable>[machine] SPN</replaceable></title>
 
 <para>
    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.
 </para>
+<para>Example: <userinput>net ads setspn add computername host/computername.example.com -U Administrator%Passw0rd</userinput></para>
 </refsect2>
 
 
 <refsect2>
-<title>ADS setspn <replaceable>SETSPN DELETE SPN [machine]</replaceable></title>
+<title>ADS SETSPN DELETE <replaceable>[machine] SPN</replaceable></title>
 
 <para>
    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.
 </para>
+<para>Example: <userinput>net ads setspn delete computername host/computername.example.com -U Administrator%Passw0rd</userinput></para>
 
 </refsect2>