<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:Aptos;}
@font-face
        {font-family:"Century Gothic";
        panose-1:2 11 5 2 2 2 2 2 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        font-size:11.0pt;
        font-family:"Aptos",sans-serif;
        mso-ligatures:standardcontextual;
        mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#467886;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Century Gothic",sans-serif;
        color:#424242;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:11.0pt;
        mso-fareast-language:EN-US;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:70.85pt 70.85pt 70.85pt 70.85pt;}
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="FR" link="#467886" vlink="#96607D" style="word-wrap:break-word">
<div class="WordSection1">
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.5pt;font-family:"Century Gothic",sans-serif;color:#424242">Hi everybody,<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.5pt;font-family:"Century Gothic",sans-serif;color:#424242"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.5pt;font-family:"Century Gothic",sans-serif;color:#424242">I’m trying to configure Shibboleth in a Microsoft environment. IdP is ADFS and the web server is IIS.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.5pt;font-family:"Century Gothic",sans-serif;color:#424242"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.5pt;font-family:"Century Gothic",sans-serif;color:#424242">For a few days, I’ve tried a lot of combinations to get server variables populated, to no avail.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.5pt;font-family:"Century Gothic",sans-serif;color:#424242"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.5pt;font-family:"Century Gothic",sans-serif;color:#424242">I’m sending SamAccountName as Name on ADFS, and then mapped the attribute like this in attribute-map.xml :
<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.5pt;font-family:"Century Gothic",sans-serif;color:#424242"><o:p> </o:p></span></p>
<p class="MsoNormal"><i><span lang="EN-US" style="font-size:10.0pt;font-family:"Century Gothic",sans-serif;color:#424242">            <Attribute name=<a href="https://urldefense.com/v3/__http:/schemas.xmlsoap.org/ws/2005/05/identity/claims/name__;!!BnkV9pdh5V0!DG7kbYcMSWLhgQ7Hz3iFmpWJVI-snkcOWSYeJgMflBLkv3UCLMdn6DfWRrjJvql5u7n67S4kcHUhKFnZwEFaRzVkFmKOiwBlJMTRjgMB9A$">http://schemas.xmlsoap.org/ws/2005/05/identity/claims/name</a>
 id="name"><o:p></o:p></span></i></p>
<p class="MsoNormal"><i><span lang="EN-US" style="font-size:10.0pt;font-family:"Century Gothic",sans-serif;color:#424242">                        <AttributeDecoder xsi:type="StringAttributeDecoder" caseSensitive="false"/><o:p></o:p></span></i></p>
<p class="MsoNormal"><i><span lang="EN-US" style="font-size:10.0pt;font-family:"Century Gothic",sans-serif;color:#424242">            </Attribute><o:p></o:p></span></i></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.5pt;font-family:"Century Gothic",sans-serif;color:#424242"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.5pt;font-family:"Century Gothic",sans-serif;color:#424242">Variable “name” is showing correctly when accessing the Session endpoint, but when trying to get this through code, no variable seems to be
 populated. Also tried accessing the built-in shibboleth variables like “Shib-Application-ID”, all of them are empty.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.5pt;font-family:"Century Gothic",sans-serif;color:#424242">When using the provided IIS aspx page in a newly created site, “name” and “REMOTE_USER” are unset.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.5pt;font-family:"Century Gothic",sans-serif;color:#424242"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.5pt;font-family:"Century Gothic",sans-serif;color:#424242">In shibboleth2.xml :
<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.5pt;font-family:"Century Gothic",sans-serif;color:#424242"><o:p> </o:p></span></p>
<p class="MsoNormal" style="text-indent:35.4pt"><span lang="EN-US" style="font-size:10.5pt;font-family:"Century Gothic",sans-serif;color:#424242">ISAPI use default for useVariables and useHeaders as I’ve not declared anything (tried with setting both explicitly
 but got the same result) :  <o:p></o:p></span></p>
<p class="MsoNormal" style="text-indent:35.4pt"><i><span lang="EN-US" style="font-size:10.0pt;font-family:"Century Gothic",sans-serif;color:#424242"><ISAPI normalizeRequest="true" safeHeaderNames="true" ><o:p></o:p></span></i></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.5pt;font-family:"Century Gothic",sans-serif;color:#424242"><o:p> </o:p></span></p>
<p class="MsoNormal" style="text-indent:35.4pt"><span lang="EN-US" style="font-size:10.5pt;font-family:"Century Gothic",sans-serif;color:#424242">I tried to set “REMOTE_USER” in ApplicationDefaults to the “name” variable that I get from IDP, but “REMOTE_USER”
 is never set (checked this in IIS logs, by adding the REMOTE_USER server variable in the logs) :
<o:p></o:p></span></p>
<p class="MsoNormal" style="text-indent:35.4pt"><i><span lang="EN-US" style="font-size:10.0pt;font-family:"Century Gothic",sans-serif;color:#424242">REMOTE_USER="name eppn subject-id pairwise-id persistent-id"<o:p></o:p></span></i></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.5pt;font-family:"Century Gothic",sans-serif;color:#424242"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.5pt;font-family:"Century Gothic",sans-serif;color:#424242">I’m using the iis7_shib.dll. Shibboleth version is the latest, 3.4.1.5.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.5pt;font-family:"Century Gothic",sans-serif;color:#424242"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.5pt;font-family:"Century Gothic",sans-serif;color:#424242">What bugs me the most is that everything looks OK in the Session endpoint, IIS just seems to ignore it.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.5pt;font-family:"Century Gothic",sans-serif;color:#424242"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.5pt;font-family:"Century Gothic",sans-serif;color:#424242">Do you have any idea on this?
<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.5pt;font-family:"Century Gothic",sans-serif;color:#424242"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.5pt;font-family:"Century Gothic",sans-serif;color:#424242">Kind regards,<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.5pt;font-family:"Century Gothic",sans-serif;color:#424242">Thibault<o:p></o:p></span></p>
</div>
<br>
<p style="font-family:Calibri;font-size:10pt;color:#000000;margin:5pt;font-style:normal;font-weight:normal;text-decoration:none;" align="Center">
INTERNE<br>
</p>

<DIV>
Ce message est confidentiel. Son contenu ne represente en aucun cas un <BR>
engagement de la part de la Mutuelle Saint-Christophe assurances sous reserve de <BR>
tout accord conclu par ecrit entre vous et la Mutuelle Saint-Christophe assurances.<BR>
Toute publication, utilisation ou diffusion, meme partielle, doit etre <BR>
autorisee prealablement. Si vous n'etes pas destinataire de ce message, <BR>
merci d'en avertir immediatement l'expediteur. <BR>
<BR>
This message is confidential. Its contents do not constitute a <BR>
commitment by Mutuelle Saint-Christophe assurances except where provided for in <BR>
a written agreement between you and Mutuelle Saint-Christophe assurances. Any <BR>
unauthorised disclosure, use or dissemination, either whole or partial, is <BR>
prohibited. If you are not the intended recipient of the message, please <BR>
notify the sender immediately.<BR>
</DIV></body>
</html>