United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: 7043737 klist does not detect non-existing keytab
7043737 : klist does not detect non-existing keytab

Details
Type:
Bug
Submit Date:
2011-05-11
Status:
Closed
Updated Date:
2013-04-17
Project Name:
JDK
Resolved Date:
2011-07-06
Component:
security-libs
OS:
generic
Sub-Component:
org.ietf.jgss:krb5
CPU:
generic
Priority:
P4
Resolution:
Fixed
Affected Versions:
7,7u1
Fixed Versions:
8

Related Reports
Backport:

Sub Tasks

Description
Since "6894072: always refresh keytab", we support "dynamic" keytabs which means a keytab file can change during the execution of a program, this even includes accepting a non-existing keytab at the beginning and read it when it appears at a later time.

On the other hand, the klist tool is used to list the current content of a static keytab file. When the file does not exist, we should warn the user. This behavior is also consistent with klist from other vendors.

                                    

Comments
Verified based on nightly-tl results from
http://aurora.ru.oracle.com/functional/faces/RunDetails.xhtml?names=206264.CORELIBS-JDK8-NIGHTLY-SQE-2

 SecurityTools/krb5/KlistTest  is now split into
SecurityTools/krb5/KlistTestOne to SecurityTools/krb5/KlistTestSix
                                     
2013-04-17
EVALUATION

http://hg.openjdk.java.net/jdk8/tl/jdk/rev/9b678733fa51
                                     
2011-06-08
EVALUATION

should detect file missing and file validity.
                                     
2011-05-11



Hardware and Software, Engineered to Work Together