summaryrefslogtreecommitdiffstats
path: root/crypto/kerberosIV
diff options
context:
space:
mode:
authormarkm <markm@FreeBSD.org>1997-11-25 21:12:37 +0000
committermarkm <markm@FreeBSD.org>1997-11-25 21:12:37 +0000
commit6026327fe636fa3827c90d89933425317dc91eea (patch)
tree1b198f1ff47cb9826242e623637b49c9eff9f01e /crypto/kerberosIV
parent24487ca3ea7fecff06d22891ee1d159a4f9b94a8 (diff)
downloadFreeBSD-src-6026327fe636fa3827c90d89933425317dc91eea.zip
FreeBSD-src-6026327fe636fa3827c90d89933425317dc91eea.tar.gz
kinit(1) and its man page do not agre on what is reported with -v. Fix this.
Submitted by: Sheldon Hearn.
Diffstat (limited to 'crypto/kerberosIV')
-rw-r--r--crypto/kerberosIV/kuser/kinit.c3
-rw-r--r--crypto/kerberosIV/man/kinit.14
2 files changed, 4 insertions, 3 deletions
diff --git a/crypto/kerberosIV/kuser/kinit.c b/crypto/kerberosIV/kuser/kinit.c
index 64910b9..b7dd19d 100644
--- a/crypto/kerberosIV/kuser/kinit.c
+++ b/crypto/kerberosIV/kuser/kinit.c
@@ -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));
diff --git a/crypto/kerberosIV/man/kinit.1 b/crypto/kerberosIV/man/kinit.1
index b70ce4b..75f0e70 100644
--- a/crypto/kerberosIV/man/kinit.1
+++ b/crypto/kerberosIV/man/kinit.1
@@ -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
OpenPOWER on IntegriCloud