<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:dt="uuid:C2F41010-65B3-11d1-A29F-00AA00C14882" 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 12 (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: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;}
@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>Folks:<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>I have an Idp set up on a CentOS Linux box, and can authenticate against it using an SP on a Windows 7 IIS box.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>I recently added an SP to the same Linux box as the Idp so that I could understand the setup of an apache native SP.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>I’m running apache 2.3, with a virtual host.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>My IdP is running under tomcat 6 on the same box.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>After running through the usual issues of ensuring that metadata was consistent across the shibboleth2.xml file, the relyin-party.xml file and the idp-metadat.xml file, I was faced with a persistent problem at login time. My user id was succesfully authenticated but I repeatedly received errors about sending a POST message to an invalid host.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>The server that this runs on is : ‘dt-safe1.client.research.att.com’<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>The EntityID that I use for the SP is ‘safehost.research.att.com’<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>This problem went away when I changed the ServerName line in my apache httpd.conf file from ‘dt-safe1.client.research.att.com’ <o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>To ‘safehost.research.att.com’, which is BOTH the name of my entity AND the name of a virtual host in this same apache httpd.conf file.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>It leaves me , however, with a situation in which my IdP successfully authenticates my USER ID and then IMMEDITALY returns me to the login page requesting a new login ID.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>I suspect that I have set up some sort of cycle in my naming convention, but so far can’t figure this out on my own.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Does anyone have any experience with this sort of “circular” behavior in shibboleth?<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Thanks,<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Martin pardee<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><o:p> </o:p></p></div></body></html>