Attribute not in HTTP header

smathew smathew at hbs.edu
Wed Jan 30 06:37:34 EST 2019


1) What is the webserver?  From the URL I'd guess IIS but that needs to be
stated. 

Ans: I installed Shibboleth Windows SP 3.0.3
(https://shibboleth.net/downloads/service-provider/3.0.3/win64/) on IIS 10
running on Windows Server 2016. 

2) What version of the SP?  You are using the legacy namespace which might
argue 2.  If it's two nobody is going to be able to help you much till you
update. 

SM: How would this look like in 3.0 attribute-map.xml:
    <Attribute name="SHIB_SESSION_IDENTIFIER" id="SHIB_SESSION_IDENTIFIER"/>


3) If SP3 are you using the ISAPI or the IIS7 plugin?  If the former, why? 

The Shibboleth Daemon service has started successfully. I can see ShibNative
module in IIS pointing to
c:\opt\shibboleth-sp\lib64\shibboleth\iis7_shib.dll.

Finally, why are you even looking at the HTTP headers?  They are not
required and there are a great number of very good reasons to not use them. 

Ans: I am printing all the server variables using a test page (index.asp):

<%@ EnableSessionState=False%>

<% 
' index.asp
' dumps http server variables
%>
<HTML>
<HEAD><TITLE>HTTP Server Variables</TITLE></HEAD>
<BODY BGCOLOR=#FFFFFF>
<BR>
Shibboleth Test Page

<BR><BR>
Authenticated User Information (information received from your IdP, if any,
will be populated below):<BR><BR>

First name:	<INPUT type="text"
value="<%=Request.ServerVariables("HTTP_GIVENNAME")%>">
Last name:	<INPUT type="text"
value="<%=Request.ServerVariables("HTTP_SN")%>">
Email address:	<INPUT type="text"
value="<%=Request.ServerVariables("HTTP_MAIL")%>">
eduPersonPrincipalName:	<INPUT type="text"
value="<%=Request.ServerVariables("HTTP_EPPN")%>">
REMOTE_USER:	<INPUT type="text"
value="<%=Request.ServerVariables("HTTP_REMOTEUSER")%>">

<BR><BR><BR>

<HR>
Raw HTTP Server Variables



Variable	Value
<% For Each key in Request.ServerVariables  %>
   <%If Trim(key) <> "HTTP_SHIBSPOOFCHECK" Then%>
	

		<% = key %>
		
	<%      
    
	if Request.ServerVariables(key) = "" Then
		Response.Write "&nbsp" ' To force border around table cell
	else		
		Response.Write Request.ServerVariables(key)
	end if
	Response.Write ""
	%>
	
    <%End IF
Next
%>


<BR>
<BR>
</BODY>
</HTML>



--
Sent from: http://shibboleth.1660669.n2.nabble.com/Shibboleth-Users-f1660767.html


More information about the users mailing list