<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 14 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:"Lucida Console";
        panose-1:2 11 6 9 4 5 4 2 2 4;}
@font-face
        {font-family:"Minion Pro Cond";
        panose-1:0 0 0 0 0 0 0 0 0 0;}
@font-face
        {font-family:"Segoe UI";
        panose-1:2 11 5 2 4 2 4 2 2 3;}
/* 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:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
.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="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal">Hello all,<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">First I’d like to apologize, but I am very new to Shibboleth and am trying to set it up to work with ADFS (v2). From there I followed a guide to set it up with Sharepoint. The idP is on Windows in a test environment connected to Active
Directory via the LDAP Connector. I configured Sharepoint to pull the e-mail address and role for the accepted claims. Basically, when I use the following in the
<i>attribute-resolver.xml</i> I am successfully redirected to Shiboleth, log in and then am redirected back. Of course, one of the required attributes: e-mail is not sent with this method so Sharepoint eventually complains, but it at least redirects me back:<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><span style="font-family:"Lucida Console""><resolver:DataConnector id="myLDAP" xsi:type="LDAPDirectory" xmlns="urn:mace:shibboleth:2.0:resolver:dc"<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Lucida Console""> ldapURL="ldap://ad.domain.com:3268"
<b>baseDN="CN=Users,DC=ad,DC=domain,DC=com"</b> principal="USER@domain.com"<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Lucida Console""> principalCredential="PASSWORD"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Lucida Console""> <FilterTemplate><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Lucida Console""> <![CDATA[<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Lucida Console""> (sAMAccountName=$requestContext.principalName)<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Lucida Console""> ]]><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Lucida Console""> </FilterTemplate><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Lucida Console""><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Lucida Console""> <!-- We rely on the uniqueness of the objectSid. But it is binary so we *must* make it so --><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Lucida Console""> <LDAPProperty name="java.naming.ldap.attributes.binary" value="objectSid"/><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Lucida Console""> <!-- If we are following from the GC we need thus on --><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Lucida Console""> <LDAPProperty name="java.naming.referral" value="follow"/><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Lucida Console""><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Lucida Console""> </resolver:DataConnector><o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">So, I assume (it was the default) that CN=Users is the Users container, which doesn’t actually have the specific account in it directly so some attributes like e-mail and what not are not sent to Sharepoint. So I change it to the following:<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><span style="font-family:"Lucida Console""><resolver:DataConnector id="myLDAP" xsi:type="LDAPDirectory" xmlns="urn:mace:shibboleth:2.0:resolver:dc"<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Lucida Console""> ldapURL="ldap://ad.domain.com:3268" baseDN="<b>DC=ad,DC=domain,DC=com</b>" principal="user@domain.com"<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Lucida Console""> principalCredential="PASSWORD"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Lucida Console""> <FilterTemplate><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Lucida Console""> <![CDATA[<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Lucida Console""> (sAMAccountName=$requestContext.principalName)<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Lucida Console""> ]]><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Lucida Console""> </FilterTemplate><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Lucida Console""><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Lucida Console""> <!-- We rely on the uniqueness of the objectSid. But it is binary so we *must* make it so --><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Lucida Console""> <LDAPProperty name="java.naming.ldap.attributes.binary" value="objectSid"/><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Lucida Console""> <!-- If we are following from the GC we need thus on --><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Lucida Console""> <LDAPProperty name="java.naming.referral" value="follow"/><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Lucida Console""><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Lucida Console""> </resolver:DataConnector><o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">And then I get a general ADFS error message (i.e., it doesn’t redirect me *<b>at all</b>* to Sharepoint). In the Windows ADFS logs I get the following:<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.0pt;font-family:"Segoe UI","sans-serif"">Encountered error during federation passive request.
<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.0pt;font-family:"Segoe UI","sans-serif""><o:p> </o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.0pt;font-family:"Segoe UI","sans-serif"">Additional Data
<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.0pt;font-family:"Segoe UI","sans-serif""><o:p> </o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.0pt;font-family:"Segoe UI","sans-serif"">Exception details:
<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.0pt;font-family:"Segoe UI","sans-serif"">Microsoft.IdentityServer.Web.RequestFailedException: MSIS7012: An error occurred while processing the request. Contact your administrator for
details. ---> System.ServiceModel.FaultException: ID3242: The security token could not be authenticated or authorized.<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.0pt;font-family:"Segoe UI","sans-serif""> at Microsoft.IdentityServer.Protocols.WSTrust.WSTrustClientManager.Issue(Message request, WCFResponseData responseData)<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.0pt;font-family:"Segoe UI","sans-serif""> at Microsoft.IdentityServer.Protocols.WSTrust.WSTrustClient.Issue(RequestSecurityToken rst, WCFResponseData responseData)<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.0pt;font-family:"Segoe UI","sans-serif""> at Microsoft.IdentityServer.Web.FederationPassiveAuthentication.SubmitRequest(MSISRequestSecurityToken request)<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.0pt;font-family:"Segoe UI","sans-serif""> --- End of inner exception stack trace ---<o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.0pt;font-family:"Segoe UI","sans-serif"">Token validation failed. See inner exception for more details.
<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.0pt;font-family:"Segoe UI","sans-serif""><o:p> </o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.0pt;font-family:"Segoe UI","sans-serif"">Additional Data
<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.0pt;font-family:"Segoe UI","sans-serif""><o:p> </o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.0pt;font-family:"Segoe UI","sans-serif"">Exception details:
<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.0pt;font-family:"Segoe UI","sans-serif"">ID4152: The Saml2SecurityToken cannot be validated because the IssuerToken property is not set. Unsigned SAML2:Assertions cannot be validated.
<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.0pt;font-family:"Segoe UI","sans-serif""><o:p> </o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.0pt;font-family:"Segoe UI","sans-serif"">This request failed.<o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I am probably not providing all the information that would be helpful, but I’ll do my best to gather anything needed. The
<i>idp-process.log</i> seems to successfully send it - 16:20:57.084 - DEBUG [org.opensaml.ws.message.encoder.BaseMessageEncoder:56] - Successfully encoded message.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Thanks in advance for whoever can help.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><span style="font-family:"Minion Pro Cond","serif"">Steven Barnhart<o:p></o:p></span></p>
<p class="MsoNormal"><i><span style="font-family:"Minion Pro Cond","serif";color:#404040">Systems Specialist<o:p></o:p></span></i></p>
<p class="MsoNormal"><span style="font-family:"Minion Pro Cond","serif";color:gray">Enrollment Services & Undergraduate Education<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Minion Pro Cond","serif";color:#C00000">The Ohio State University<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Minion Pro Cond","serif"">sbarnhart@esue.ohio-state.edu<o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</body>
</html>