Project

General

Profile

Actions

Bug #13946

open

kclient -? shows unhelpful, generated usage

Added by C Fraire almost 2 years ago. Updated almost 2 years ago.

Status:
New
Priority:
Normal
Assignee:
Category:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Difficulty:
Bite-size
Tags:
Gerrit CR:
External Bug:

Description

`# kclient -?` shows the following despite code ostensibly calling usage() on -?:

# kclient -?

Starting client setup

---------------------------------------------------
Usage: /usr/sbin/kclient [-nK] [-D arg] [-p arg] [-R arg] [-k arg] [-a arg] [-c arg] [-d arg] [-f arg] [-h arg] [-m arg] [-s arg]
                         [-T arg]

Also the getopts call happens after much temporary file initialization and also the root check, though it would be useful to be able to call kclient -? as a regular user.

Actions #1

Updated by C Fraire almost 2 years ago

After revision, as a regular user:

$ kclient -?

Usage: kclient [ options ]

        where options can be left empty to start interactive mode or where
        options are any of the following:

        [ -n ]  configure client to be a kerberized NFS client
        [ -K ]  configure a client that does not have host/service keys
        [ -D domain_list ]  configure a client that has multiple mappings of
                domain and/or hosts to the default realm
        [ -R realm ]  specifies the realm to use
        [ -a adminuser ]  specifies the Kerberos administrator
        [ -c filepath ]  specifies the krb5.conf path used to configure this
                client
        [ -d dnsarg ]  specifies which information should be looked up in DNS
                (none, dns_lookup_kdc, dns_lookup_realm, and dns_fallback)
        [ -f fqdn_list ]  specifies which domains to configure host keys for
                this client
        [ -h logical_host_name ]  configure the logical host name for a client
                that is in a cluster
        [ -k kdc_list ]  specifies multiple KDCs; if -m is not used the first
                KDC in the list is assumed to be the master.  KDC host names are
                used verbatim.
        [ -m master_kdc ]  master KDC server host name
        [ -p profile ]  specifies which profile file to use to configure this
                client
        [ -s pam_service ]  specifies the service names for Kerberos
                authentication
        [ -T kdc_vendor ]  specifies which vendor is the KDC server (ms_ad, mit,
                heimdal, and shishi)
---------------------------------------------------
Setup FAILED.

Actions #2

Updated by Electric Monk almost 2 years ago

  • Gerrit CR set to 1606
Actions

Also available in: Atom PDF