Blob Blame History Raw
From 88fbb7e2395dec20b37697a213a097909870c21f Mon Sep 17 00:00:00 2001
From: Sumit Bose <sbose@redhat.com>
Date: Thu, 13 Aug 2020 17:10:01 +0200
Subject: [PATCH 3/3] man: make handling of optional credential cache more
 clear

The optional Kerberos credential cache can only be used with the long
option name --login-ccache and not with the short version -C. To make
this more clear each option get its own entry.

Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1791545
---
 doc/adcli.xml | 12 +++++++++---
 1 file changed, 9 insertions(+), 3 deletions(-)

diff --git a/doc/adcli.xml b/doc/adcli.xml
index ecf8726..1437679 100644
--- a/doc/adcli.xml
+++ b/doc/adcli.xml
@@ -153,10 +153,16 @@ $ LDAPTLS_CACERT=/path/to/ad_dc_ca_cert.pem adcli join --use-ldaps -D domain.exa
 			</para></listitem>
 		</varlistentry>
 		<varlistentry>
-			<term><option>-C, --login-ccache=<parameter>ccache_name</parameter></option></term>
-			<listitem><para>Use the specified kerberos credential
+			<term><option>-C</option></term>
+			<listitem><para>Use the default Kerberos credential
+			cache to authenticate with the domain.
+			</para></listitem>
+		</varlistentry>
+		<varlistentry>
+			<term><option>--login-ccache<parameter>[=ccache_name]</parameter></option></term>
+			<listitem><para>Use the specified Kerberos credential
 			cache to authenticate with the domain. If no credential
-			cache is specified, the default kerberos credential
+			cache is specified, the default Kerberos credential
 			cache will be used. Credential caches of type FILE can
 			be given with the path to the file. For other
 			credential cache types, e.g. DIR, KEYRING or KCM, the
-- 
2.26.2