<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>&nbsp;</o:p></p>
<p class="MsoNormal">First I&#8217;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>&nbsp;</o:p></p>
<p class="MsoNormal"><span style="font-family:&quot;Lucida Console&quot;">&lt;resolver:DataConnector id=&quot;myLDAP&quot; xsi:type=&quot;LDAPDirectory&quot; xmlns=&quot;urn:mace:shibboleth:2.0:resolver:dc&quot;<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:&quot;Lucida Console&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ldapURL=&quot;ldap://ad.domain.com:3268&quot;
<b>baseDN=&quot;CN=Users,DC=ad,DC=domain,DC=com&quot;</b> principal=&quot;USER@domain.com&quot;<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:&quot;Lucida Console&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; principalCredential=&quot;PASSWORD&quot;&gt;<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:&quot;Lucida Console&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;FilterTemplate&gt;<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:&quot;Lucida Console&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;![CDATA[<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:&quot;Lucida Console&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; (sAMAccountName=$requestContext.principalName)<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:&quot;Lucida Console&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ]]&gt;<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:&quot;Lucida Console&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/FilterTemplate&gt;<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:&quot;Lucida Console&quot;"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span style="font-family:&quot;Lucida Console&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;!-- We rely on the uniqueness of the objectSid.&nbsp; But it is binary so we *must* make it so --&gt;<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:&quot;Lucida Console&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;LDAPProperty name=&quot;java.naming.ldap.attributes.binary&quot; value=&quot;objectSid&quot;/&gt;<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:&quot;Lucida Console&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;!-- If we are following from the GC we need thus on --&gt;<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:&quot;Lucida Console&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;LDAPProperty name=&quot;java.naming.referral&quot; value=&quot;follow&quot;/&gt;<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:&quot;Lucida Console&quot;"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span style="font-family:&quot;Lucida Console&quot;">&nbsp;&nbsp;&nbsp; &lt;/resolver:DataConnector&gt;<o:p></o:p></span></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal">So, I assume (it was the default) that CN=Users is the Users container, which doesn&#8217;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>&nbsp;</o:p></p>
<p class="MsoNormal"><span style="font-family:&quot;Lucida Console&quot;">&lt;resolver:DataConnector id=&quot;myLDAP&quot; xsi:type=&quot;LDAPDirectory&quot; xmlns=&quot;urn:mace:shibboleth:2.0:resolver:dc&quot;<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:&quot;Lucida Console&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ldapURL=&quot;ldap://ad.domain.com:3268&quot; baseDN=&quot;<b>DC=ad,DC=domain,DC=com</b>&quot; principal=&quot;user@domain.com&quot;<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:&quot;Lucida Console&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; principalCredential=&quot;PASSWORD&quot;&gt;<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:&quot;Lucida Console&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;FilterTemplate&gt;<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:&quot;Lucida Console&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;![CDATA[<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:&quot;Lucida Console&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; (sAMAccountName=$requestContext.principalName)<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:&quot;Lucida Console&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ]]&gt;<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:&quot;Lucida Console&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/FilterTemplate&gt;<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:&quot;Lucida Console&quot;"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span style="font-family:&quot;Lucida Console&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;!-- We rely on the uniqueness of the objectSid.&nbsp; But it is binary so we *must* make it so --&gt;<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:&quot;Lucida Console&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;LDAPProperty name=&quot;java.naming.ldap.attributes.binary&quot; value=&quot;objectSid&quot;/&gt;<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:&quot;Lucida Console&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;!-- If we are following from the GC we need thus on --&gt;<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:&quot;Lucida Console&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;LDAPProperty name=&quot;java.naming.referral&quot; value=&quot;follow&quot;/&gt;<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:&quot;Lucida Console&quot;"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span style="font-family:&quot;Lucida Console&quot;">&nbsp;&nbsp;&nbsp; &lt;/resolver:DataConnector&gt;<o:p></o:p></span></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal">And then I get a general ADFS error message (i.e., it doesn&#8217;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>&nbsp;</o:p></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.0pt;font-family:&quot;Segoe UI&quot;,&quot;sans-serif&quot;">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:&quot;Segoe UI&quot;,&quot;sans-serif&quot;"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.0pt;font-family:&quot;Segoe UI&quot;,&quot;sans-serif&quot;">Additional Data
<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.0pt;font-family:&quot;Segoe UI&quot;,&quot;sans-serif&quot;"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.0pt;font-family:&quot;Segoe UI&quot;,&quot;sans-serif&quot;">Exception details:
<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.0pt;font-family:&quot;Segoe UI&quot;,&quot;sans-serif&quot;">Microsoft.IdentityServer.Web.RequestFailedException: MSIS7012: An error occurred while processing the request. Contact your administrator for
 details. ---&gt; 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:&quot;Segoe UI&quot;,&quot;sans-serif&quot;">&nbsp;&nbsp; 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:&quot;Segoe UI&quot;,&quot;sans-serif&quot;">&nbsp;&nbsp; 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:&quot;Segoe UI&quot;,&quot;sans-serif&quot;">&nbsp;&nbsp; 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:&quot;Segoe UI&quot;,&quot;sans-serif&quot;">&nbsp;&nbsp; --- End of inner exception stack trace ---<o:p></o:p></span></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.0pt;font-family:&quot;Segoe UI&quot;,&quot;sans-serif&quot;">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:&quot;Segoe UI&quot;,&quot;sans-serif&quot;"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.0pt;font-family:&quot;Segoe UI&quot;,&quot;sans-serif&quot;">Additional Data
<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.0pt;font-family:&quot;Segoe UI&quot;,&quot;sans-serif&quot;"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.0pt;font-family:&quot;Segoe UI&quot;,&quot;sans-serif&quot;">Exception details:
<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.0pt;font-family:&quot;Segoe UI&quot;,&quot;sans-serif&quot;">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:&quot;Segoe UI&quot;,&quot;sans-serif&quot;"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.0pt;font-family:&quot;Segoe UI&quot;,&quot;sans-serif&quot;">This request failed.<o:p></o:p></span></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal">I am probably not providing all the information that would be helpful, but I&#8217;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>&nbsp;</o:p></p>
<p class="MsoNormal">Thanks in advance for whoever can help.<o:p></o:p></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal"><span style="font-family:&quot;Minion Pro Cond&quot;,&quot;serif&quot;">Steven Barnhart<o:p></o:p></span></p>
<p class="MsoNormal"><i><span style="font-family:&quot;Minion Pro Cond&quot;,&quot;serif&quot;;color:#404040">Systems Specialist<o:p></o:p></span></i></p>
<p class="MsoNormal"><span style="font-family:&quot;Minion Pro Cond&quot;,&quot;serif&quot;;color:gray">Enrollment Services &amp; Undergraduate Education<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:&quot;Minion Pro Cond&quot;,&quot;serif&quot;;color:#C00000">The Ohio State University<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:&quot;Minion Pro Cond&quot;,&quot;serif&quot;">sbarnhart@esue.ohio-state.edu<o:p></o:p></span></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
</body>
</html>