...
Panel | |
---|---|
Troubleshooting local GSSAPI connections can be a tricky task. There are three potential ways to do it. This page presents each of them, in order of increasing difficultyis fairly straight-forward. This page will cover both major Linux distribution sets. Contents
|
...
Numberedheadings |
---|
System PreparationInstalling the Kerberos GSSAPI client and server utilityYou now need to add the following items into the Windows Registry: trueDebuggingOption 1 - Log to lsass.log
This option is probably the easiest way to view the debug logging from the Moonshot SSP. Option 2 - Gather trace informationIf you just wish to see the Moonshot SSP logging in its own file, this option may be the best. Once you have performed the above preparation work, start a Command Prompt session as an Administrator: Click Start, All Programs, Accessories. Right-click the Command Prompt entry, select Run as administrator. You may be prompted to confirm whether you want to allow the program to make changes to the computer. Choose Yes. Run the following command from the command prompt to start gathering trace information: powershellOnce you've performed the actions you wish to debug, stop this by issuing the following command: powershellNow run the following common to create the trace log for you to look at. powershellIf you just wish to see the Moonshot SSP logging in its own file - so that you don't have to sift through other non-relevant logs, this option may be the best. Option 3 - Using DebugView
RedHat, CentOS or Scientific LinuxOn RedHat, CentOS or Scientific Linux, install the Kerberos GSSAPI utilities by running the following command (as root): Debian or UbuntuOn Debian or Ubuntu, install the Kerberos GSSAPI utilities by running the following command (as root): TroubleshootingTo troubleshoot a GSSAPI connection, you require two separate terminal sessions and a RadSec connection to your local Moonshot RP Proxy. RadSec connectionOn a Moonshot clientMoonshot clients do not need to define a RadSec connection (because the service you connect to defines this connection), if you however are trying to troubleshoot the local GSS system, you will need to define this connection to temporarily turn your Moonshot client into a server. To do this, you need three files from your Moonshot RP Proxy's FreeRADIUS directory: Store the files in a directory that an ordinary user can read, and check that the files are also readable by an ordinary user. You may wish to rename them to be clearly identifiable. Also create a Make sure that the file is also readable by an ordinary user. On a Moonshot serverAs part of Check the permissions of the four files needed for a RadSec connections: Also check the validity of the certificates used for the connection: Terminal 1 - As root
Terminal 2 - As your test userIn an X environmentWhen you launch a terminal from X, e.g. a Gnome or KDE desktop session, the behaviour is different to a pure text environment. This is also the case when you use SSH to connect to a remote server and use display forwarding.
In a non-X environmentIn a pure command-line environment with no display forwarding available, the Moonshot Identity Selector is not available. Instead, you use the
GSS OutputAfter selecting your identity, you should now see output in both terminals. Successful output
Failed outputIf the GSSAPI connection failed, you may see one or more errors in either window.
Possible solutionsIf your GSS connection failed, you will need to diagnose why the error occurred. The |