<div dir="ltr">Dear All,<br><br>I am wondering if someone would be kind enough to sponsor the following small change:<br><br>When debugging is enabled for com.sun.security.auth.module.Krb5LoginModule and the file specified by "keyTab" is not found, Krb5LoginModule simply emits a generic message, similar to this: <br>"Key for the principal <a href="mailto:foobar@acme.com">foobar@acme.com</a> not available in /home/foobar/foobar.keytab"<br><br>This message can be quite confusing and counterintuitive if the file is actually not there, because, based on the message, one would think that the JVM probed the file, found it, loaded the data, but still could not use the keytab data.<br><br>I would propose adding further debug logging to Krb5LoginModule so as to emit a warning in case the key was not found, due to the file not being present, readable or a being a directory.<br><br>Please find attached the patch file: it is trivial, and only affects a debug branch of the code.<br><br>Please let me know what you think.<br><br>Thanks,<br>Peter<br><br></div>