From b50a9aa790a02885d628c253fe7e451174029e54 Mon Sep 17 00:00:00 2001 From: Mark Murray Date: Tue, 25 Nov 1997 21:12:37 +0000 Subject: kinit(1) and its man page do not agre on what is reported with -v. Fix this. Submitted by: Sheldon Hearn. --- crypto/kerberosIV/kuser/kinit.c | 3 ++- crypto/kerberosIV/man/kinit.1 | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) (limited to 'crypto') diff --git a/crypto/kerberosIV/kuser/kinit.c b/crypto/kerberosIV/kuser/kinit.c index 64910b910801..b7dd19d1aedf 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 b70ce4b83dc8..75f0e709c7d7 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 -- cgit v1.2.3