mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 08:43:19 -04:00
kinit(1) and its man page do not agre on what is reported with -v. Fix this.
Submitted by: Sheldon Hearn.
This commit is contained in:
parent
61ca849927
commit
b50a9aa790
2 changed files with 4 additions and 3 deletions
|
|
@ -19,7 +19,7 @@
|
|||
|
||||
#include "kuser_locl.h"
|
||||
|
||||
RCSID("$Id: kinit.c,v 1.15 1997/03/30 18:58:46 assar Exp $");
|
||||
RCSID("$Id$");
|
||||
|
||||
#define LIFE DEFAULT_TKT_LIFE /* lifetime of ticket in 5-minute units */
|
||||
#define CHPASSLIFE 2
|
||||
|
|
@ -151,6 +151,7 @@ main(int argc, char **argv)
|
|||
lifetime, 0);
|
||||
if (vflag) {
|
||||
printf("Kerberos realm %s:\n", realm);
|
||||
printf("Ticket file: %s\n", tkt_string());
|
||||
printf("%s\n", krb_get_err_text(k_errno));
|
||||
} else if (k_errno)
|
||||
errx(1, "%s", krb_get_err_text(k_errno));
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
.\" $Id: kinit.1,v 1.3 1997/04/02 21:09:55 assar Exp $
|
||||
.\" $Id$
|
||||
.\" Copyright 1989 by the Massachusetts Institute of Technology.
|
||||
.\"
|
||||
.\" For copying and distribution information,
|
||||
|
|
@ -110,7 +110,7 @@ server.
|
|||
.B \-v
|
||||
Verbose mode.
|
||||
.I kinit
|
||||
prints the name of the ticket file used, and
|
||||
prints the realm you are in, the name of the ticket file used, and
|
||||
a status message indicating the success or failure of
|
||||
your login attempt.
|
||||
.TP
|
||||
|
|
|
|||
Loading…
Reference in a new issue