When the ktab tool is used to add new entries, it would create a new file if there is no existing one. In order to find out if a file exists, we used to check if KeyTab.getInstance() is null. Since we support dynamic keytab, this method never returns null, and there is no chance to initialize kt_vno for an empty keytab file now.
|