Uploaded image for project: 'I&AM Kerberos'
  1. KRB-1

As a user of krb5 command line tools I want to have a consistent getopt()-based command syntax for all commands so I don't have to learn numerous idiosyncratic command syntaxes

    Details

    • Type: Epic
    • Status: To Do (View workflow)
    • Priority: Normal
    • Resolution: Unresolved
    • Affects versions: None
    • Fix versions: None
    • Components: krb5
    • Labels:
      None
    • Epic Name:
      getopt all the things
    • Sprint:

      Description

      Command line parsing is not consistent across krb5 programs. Some use getopt() or getopt_long(), and others roll their own argument parsing. This results in surprising behavior for some users, including some error cases that can be difficult to diagnose.

      Use getopt() or getopt_long() as appropriate in all krb5 programs. Some programs such as kadmin have unusual command line syntax, e.g., "modprinc +requires_preauth". We can try to preserve that syntax at the cost of some code complexity, or we can replace it with more standard syntax.

      Also investigate whether we can assume the existence of getopt_long() (or at least assume that we can provide a usable substitute if the OS provides no implementation of getopt_long().

        Attachments

          Issue links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                tlyu Tom Yu (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:

                  Who's Looking?