On this page:
When trying to log in to SAPgui on my Windows machine, I get an error: GSS-API miscellaneous failure matching credentials not found. How do I resolve this?
I am getting an error: "No credentials cache found" when I try to log in to SAPgui. How do I resolve this?
This error message means that SAPgui was unable to communicate with Kerberos and/or was unable to see a valid Kerberos ticket on the machine. The desired behavior is for SAPgui, on launch, to check whether there is a valid Kerberos ticket on the machine. If there is no Kerberos ticket, the Kerberos login screen should appear, prompting the user for Kerberos username and password. This will be the same username and password used to check @mit.edu email. After the user successfully acquires a Kerberos ticket, SAPgui should launch.
Kerberos may not be installed on the machine. Check Control Panel > Add or Remove Programs to see if Kerberos is installed.
It may be that there is an expired Kerberos ticket on the machine. SAPgui sees that the Kerberos ticket exists, so it doesn't bring up the Kerberos login screen, but, since the ticket is expired, the credentials are not valid.
- Follow the menu path Start > All Programs > Kerberos for Windows > Network Identity Manager.
- You may see a message regarding expired credentials. Click to obtain new credentials.
- If no error message is present, click the yellow icon to obtain new credentials.
- Verify that Kerberos for Windows is installed.
- Try getting a Kerberos ticket directly in Kerberos. To do this:
- Follow the menu path: Start > All Programs > MIT Kerberos for Windows > Leash Ticket Manager. The menu path may vary slightly, depending on your Kerberos version.
- Select Action > Get Ticket.
- Try again to launch SAPgui.
- If the above steps are successful, we will want to troubleshoot whether SAPgui can successfully launch Kerberos, so that you don't need to do a separate Kerberos launch. To do this:
- Restart the machine.
- Try again to launch SAPgui.
- Let us know whether the Kerberos login screen appears, allows you to acquire a ticket, and SAPgui is launched.
- If the above steps are not successful, the next steps would be:
- Uninstall Kerberos via Control Panel > Add or Remove Programs.
- Uninstall SAPgui via Control Panel > Add or Remove Programs.
- Download and install the latest version of Kerberos for Windows, available from:
- Download and install the latest version of SAPgui for Windows, available from:
- Restart the machine, and try again to launch SAPgui.
5.2. What is GSSAPI?
GSSAPI is an acronym; it stands for Generic Security Services Application Programming Interface.
The GSSAPI is a generic API for doing client-server authentication. The motivation behind it is that every security system has it's own API, and the effort involved with adding different security systems to applications is extremely difficult with the variance between security APIs. However, with a common API, application vendors could write to the generic API and it could work with any number of security systems.
How does this relate to Kerberos? Included with most major Kerberos 5 distributions is a GSSAPI implementation. Thus, if a particular application or protocol says that it supports the GSSAPI, then that means that it supports Kerberos, by virtue of Kerberos including a GSSAPI implementation.