<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:#0563C1;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:#954F72;
text-decoration:underline;}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Calibri",sans-serif;
color:#1F4E79;}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri",sans-serif;}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="#0563C1" vlink="#954F72">
<div class="WordSection1">
<p class="MsoNormal"><span style="color:#1F4E79">Greetings. I’m working through the documentation for SPNEGO and Firefox. I believe the IDP is configured correctly, but all I see in the debug logs is:<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F4E79"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F4E79">2016-05-26 14:10:30,236 - DEBUG [net.shibboleth.idp.authn.spnego.impl.GSSContextAcceptor:175] - Validating the first GSS input token against service principal: HTTP/logindev.wustl.edu<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F4E79">2016-05-26 14:10:30,267 - DEBUG [net.shibboleth.idp.authn.spnego.impl.SPNEGOAuthnController:175] - GSS security context is complete<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F4E79">2016-05-26 14:10:30,267 - ERROR [net.shibboleth.idp.authn.spnego.impl.SPNEGOAuthnController:180] - Error extracting principal name from security context<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F4E79">2016-05-26 14:10:30,486 - WARN [net.shibboleth.idp.authn.impl.ValidateExternalAuthentication:94] - Profile Action ValidateExternalAuthentication: External authentication produced exception<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F4E79">net.shibboleth.idp.authn.ExternalAuthenticationException: SPNEGONotAvailable<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F4E79"> at net.shibboleth.idp.authn.spnego.impl.SPNEGOAuthnController.continueSPNEGO(SPNEGOAuthnController.java:182)<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F4E79">2016-05-26 14:10:30,501 - INFO [net.shibboleth.idp.authn.impl.SelectAuthenticationFlow:130] - Profile Action SelectAuthenticationFlow: Moving incomplete flow authn/SPNEGO to intermediate set<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F4E79"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F4E79"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F4E79">I can issue tickets using krb5 and the IDP authN but I don’t know how to test consuming them with SPNEGO.
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F4E79"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F4E79">When I look in Fiddler or HTTPFox, I see my header as:<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F4E79">Negotiate YIGeBgYrBgEFBQKggZMwgZCgGjAYBgorBgEEAYI3AgIeBgorBgEEAYI3AgIKonIEcE5FR09FWFRTAAAAAAAAAABgAAAAcAAAAKZrUKIsXm+rOIbBjmaIqmCLqSVQpEXVQ7DcXrup3i38OF6nVvZPjlu+Megh2Jq9RwAAAAAAAAAAYAAAAAEAAAAAAAAAAAAAAMNbiTClcBVAolAmCpGQrZA=<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F4E79"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F4E79">So I assume I’m sending a Kerberos ticket?<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F4E79"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F4E79">My jetty with debug logs simply say:<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F4E79"> Found KeyTab C:\Opt\Shibboleth-idp\credentials\logindev-idp-krb5.keytab for
<a href="mailto:HTTP/logindev.wustl.edu@ACCOUNTSDEV.ADDEV.WUSTL.EDU">HTTP/logindev.wustl.edu@ACCOUNTSDEV.ADDEV.WUSTL.EDU</a><o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F4E79"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F4E79">The jetty krb5 debug shows good info when issuing tickets, just not for my SPNEGO consumption.
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F4E79"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F4E79">Of note, the IDP is on Windows running in a domain NOT associated with the keytab principal. Not sure if this is an issue or not, moving domains is the only way I know to rule it out.
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F4E79"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F4E79">Next steps? Is there additional debug info I can light up for SPNEGO and GSS in the Shibboleth stack?<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F4E79"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F4E79">-Ken<o:p></o:p></span></p>
</div>
</body>
</html>