Using klist to read the keytab file
You can use the klist utility to read the keytab file and display the name and realm of the service principal.
To use klist to read the keytab file
- Do one of the following:
(UNIX) Enter the following:
<utilityPath>/klist -t -k /opt/bmc/bladelogic/NSH/br/blauthsvc.keytabIn this command, <utilityPath> provides the path to the klist utility. If you do not have klist installed on a UNIX system, you must first obtain it. There are many online sources for Kerberos utilities such as klist.
(Windows) Assuming that TrueSight Server Automation is installed in the default location, enter the following:
"C:\Program Files\BMC Software\BladeLogic\NSH\jre\bin\klist" -t -k "C:Program Files\BMC Software\BladeLogic\NSH\br\blauthsvc.keytab"
The klist utility displays output similar to the following:
Service principal: blauthsvc/app4@SUB2.DEV.MYCOMPANY.COMThe service principal name is blauthsvc/app4@SUB2.DEV.MYCOMPANY.COM.
Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*