Date: Wed, 12 Nov 1997 11:19:40 +0200 (SAT) From: sheldonh@iafrica.com To: FreeBSD-gnats-submit@FreeBSD.ORG Subject: bin/5018: eBones/kinit: kinit.c and kinit.1 our of sync Message-ID: <199711120919.LAA03433@axl.iafrica.com> Resent-Message-ID: <199711120950.BAA17787@hub.freebsd.org>
index | next in thread | raw e-mail
>Number: 5018
>Category: bin
>Synopsis: eBones/kinit: kinit.c and kinit.1 our of sync
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-bugs
>State: open
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Wed Nov 12 01:50:00 PST 1997
>Last-Modified:
>Originator: Sheldon Hearn
>Organization:
UUNET Internet Africa
>Release: FreeBSD 2.2.5-STABLE i386
>Environment:
FreeBSD 2.2-STABLE as of 5 nov 1997.
>Description:
kinit -v shows the realm and status message.
The kinit(1) manpage says kinit -v shows ticket file name and
status message.
>How-To-Repeat:
man kinit
kinit -v
>Fix:
Applying the following patches will:
1) Teach kinit to report the name of the ticket file.
2) Teach the kinit(1) manpage the truth.
--- kinit.c.ORIG Sat Feb 24 17:27:06 1996
+++ kinit.c Wed Nov 12 11:08:10 1997
@@ -208,6 +208,7 @@
lifetime, 0);
if (vflag) {
printf("Kerberos realm %s:\n", realm);
+ printf("Ticket file: %s\n", tkt_string()) ;
printf("%s\n", krb_err_txt[k_errno]);
} else if (k_errno) {
fprintf(stderr, "%s: %s\n", progname, krb_err_txt[k_errno]);
--- kinit.1.ORIG Wed Nov 12 11:11:01 1997
+++ kinit.1 Wed Nov 12 11:11:41 1997
@@ -111,7 +111,7 @@
.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
>Audit-Trail:
>Unformatted:
help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199711120919.LAA03433>
