<br>Here is the problem. We are migrating users away from one mail system to another mail system. We want users who have NOT been officially migrated to the new mail system to be unable to access the new mail system. We want this behavior because we will be provisioning the users in the new system before we roll out the new system to the users.<br>
<br>OK. So, what we have done is to create a principal name for the new system: <br><br>  &lt;!--  BEGIN GOOGLE NAME ID --&gt; <br>    &lt;resolver:AttributeDefinition id=&quot;GooglePrincipal&quot; xsi:type=&quot;PrincipalName&quot; xmlns=&quot;urn:mace:shibboleth:2.0:resolver:ad&quot;<br>
         sourceAttributeID=&quot;uid&quot; &gt;<br>         &lt;resolver:Dependency ref=&quot;GoogleLDAP&quot; /&gt;<br><br>              &lt;resolver:AttributeEncoder xsi:type=&quot;SAML2StringNameID&quot;<br>                 xmlns=&quot;urn:mace:shibboleth:2.0:attribute:encoder&quot;<br>
                 nameFormat=&quot;urn:oasis:names:tc:SAML:1.1:nameid-format:unspecified&quot; /&gt;<br><br><br>    &lt;/resolver:AttributeDefinition &gt;<br>  &lt;!--  END GOOGLE NAME ID --&gt; <br><br>And for the ldap query to get the principal name we have created an ldap connector called GoogleLDAP. Here it is:<br>
<br>&lt;resolver:DataConnector xsi:type=&quot;LDAPDirectory&quot; xmlns=&quot;urn:mace:shibboleth:2.0:resolver:dc&quot;<br>                        id=&quot;GoogleLDAP&quot;<br>                        ldapURL=&quot;ldaps://<a href="http://directory.georgetown.edu">directory.georgetown.edu</a>&quot;<br>
                        baseDN=&quot;dc=georgetown,dc=edu&quot;<br>                        principal=&quot;cn=uidWebMapping1,ou=Specials,dc=georgetown,dc=edu&quot;<br>                        principalCredential=&quot;uidWebMapping&quot;<br>
                        noResultIsError=&quot;true&quot;&gt;<br><br><br><br>    &lt;FilterTemplate&gt;<br>        &lt;![CDATA[<br>            (&amp;(uid=${requestContext.principalName})(|(guService=GUMail.GAE.Migration.Complete.*)(guService=GUMail.GAE.Migration.<br>
Candidate)))<br>        ]]&gt;<br>    &lt;/FilterTemplate&gt;<br><br>Note that the query will return a value only when the guService attributes are correctly populated.<br><br>We have tested and people without the correct guService attributes are denied access. This is good.<br>
<br>However, when a person without the guService attributes tries to log into some other SP we get the error (from idp-process.log):<br><br>WARN [edu.internet2.middleware.shibboleth.idp.profile.saml2.AbstractSAML2ProfileHandler:465] - Error resolving at<br>
tributes for principal &#39;dhm24&#39;.  No name identifier or attribute statement will be included in response<br><br>The browser appears to be in a loop of some sort. I have not been able to see the url&#39;s because they are going by too fast.<br>
<br>Does anyone have any ideas as to what my problem is?<br><br>Thanks,<br><br>Dave<br>