From sheldonh@axl.iafrica.com  Wed Nov 12 01:42:30 1997
Received: from lists01.iafrica.com (lists01.iafrica.com [196.7.0.141])
          by hub.freebsd.org (8.8.7/8.8.7) with SMTP id BAA16767
          for <FreeBSD-gnats-submit@freebsd.org>; Wed, 12 Nov 1997 01:42:28 -0800 (PST)
          (envelope-from sheldonh@axl.iafrica.com)
Received: from axl.iafrica.com [196.31.1.167] (sheldonh)
	by lists01.iafrica.com with esmtp (Exim 1.73 #1)
	id 0xVYxW-0007TA-00; Wed, 12 Nov 1997 11:19:38 +0200
Received: (from sheldonh@localhost)
	by axl.iafrica.com (8.8.7/8.8.7) id LAA03433;
	Wed, 12 Nov 1997 11:19:40 +0200 (SAT)
	(envelope-from sheldonh)
Message-Id: <199711120919.LAA03433@axl.iafrica.com>
Date: Wed, 12 Nov 1997 11:19:40 +0200 (SAT)
From: sheldonh@iafrica.com
Reply-To: sheldonh@iafrica.com
To: FreeBSD-gnats-submit@freebsd.org
Subject: eBones/kinit: kinit.c and kinit.1 our of sync
X-Send-Pr-Version: 3.2

>Number:         5018
>Category:       bin
>Synopsis:       eBones/kinit: kinit.c and kinit.1 our of sync
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    markm
>State:          closed
>Quarter:
>Keywords:
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Nov 12 01:50:00 PST 1997
>Closed-Date:    Wed Nov 26 09:09:29 PST 1997
>Last-Modified:  Wed Nov 26 09:11:50 PST 1997
>Originator:     Sheldon Hearn
>Release:        FreeBSD 2.2.5-STABLE i386
>Organization:
                 UUNET Internet Africa
>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


>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: markm 
State-Changed-When: Wed Nov 26 09:09:29 PST 1997 
State-Changed-Why:  
Suggested patches applied. Thanks! 
Responsible-Changed-From-To: freebsd-bugs->markm-bugs 
Responsible-Changed-By: markm 
Responsible-Changed-When: Wed Nov 26 09:10:25 PST 1997 
Responsible-Changed-Why:  
Responsible-Changed-From-To: markm-bugs->markm 
Responsible-Changed-By: markm 
Responsible-Changed-When: Wed Nov 26 09:11:13 PST 1997 
Responsible-Changed-Why:  
I am kerberos maintainer. 
>Unformatted:
