<div dir="ltr">Hello,<div><br></div><div>Thanks for your reply, unfortunately that didn't seem to help. I tried <dc:FilterTemplate> and <FilterTemplate>, with the removal of the xmlns and changing the type to dc:LDAPDirectory. Here's the log and the DataConnector.</div><div><br></div><div><div>net.shibboleth.utilities.java.support.service.ServiceException: org.springframework.beans.factory.xml.XmlBeanDefinitionStoreException: Line 153 in XML document from file [/opt/shibboleth-idp/conf/attribute-resolver.xml] is invalid; nested exception is org.xml.sax.SAXParseException; lineNumber: 153; columnNumber: 28; cvc-complex-type.2.4.a: Invalid content was found starting with element 'dc:FilterTemplate'. One of '{"urn:mace:shibboleth:2.0:resolver:dc":LDAPProperty, "urn:mace:shibboleth:2.0:resolver:dc":StartTLSTrustCredential, "urn:mace:shibboleth:2.0:resolver:dc":StartTLSAuthenticationCredential, "urn:mace:shibboleth:2.0:resolver:dc":ConnectionPool, "urn:mace:shibboleth:2.0:resolver:dc":Column, "urn:mace:shibboleth:2.0:resolver:dc":ResultCache, "urn:mace:shibboleth:2.0:resolver:dc":ResultCacheBean}' is expected.</div></div><div><br></div><div><br></div><div><div><font face="monospace, monospace"><resolver:DataConnector id="myLDAP" xsi:type="dc:LDAPDirectory"</font></div><div><font face="monospace, monospace">        ldapURL="%{idp.attribute.resolver.LDAP.ldapURL}"</font></div><div><font face="monospace, monospace">        baseDN="%{idp.attribute.resolver.LDAP.baseDN}"</font></div><div><font face="monospace, monospace">        principal="%{idp.attribute.resolver.LDAP.bindDN}"</font></div><div><font face="monospace, monospace">        principalCredential="%{idp.attribute.resolver.LDAP.bindDNCredential}"</font></div><div><font face="monospace, monospace">        useStartTLS="%{idp.attribute.resolver.LDAP.useStartTLS:true}"></font></div><div><font face="monospace, monospace">    <span class="" style="white-space:pre">   </span><dc:LDAPProperty name="java.naming.referral" value="follow"/></font></div><div><font face="monospace, monospace"><br></font></div><div><font face="monospace, monospace">        <FilterTemplate></font></div><div><font face="monospace, monospace">            <![CDATA[</font></div><div><font face="monospace, monospace">                %{idp.attribute.resolver.LDAP.searchFilter}</font></div><div><font face="monospace, monospace">            ]]></font></div><div><font face="monospace, monospace">        </FilterTemplate></font></div><div><font face="monospace, monospace">        <dc:ReturnAttributes>%{idp.attribute.resolver.LDAP.returnAttributes}</dc:ReturnAttributes></font></div><div><font face="monospace, monospace">        <dc:StartTLSTrustCredential id="LDAPtoIdPCredential" xsi:type="sec:X509ResourceBacked" xmlns:security="urn:mace:shibboleth:2.0:security"></font></div><div><font face="monospace, monospace">            <security:Certificate>%{idp.attribute.resolver.LDAP.trustCertificates}</security:Certificate></font></div><div><font face="monospace, monospace">        </dc:StartTLSTrustCredential></font></div><div><font face="monospace, monospace">        <dc:ResultCache elementTimeToLive="PT1H" /></font></div><div><font face="monospace, monospace">    </resolver:DataConnector></font></div></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Mar 29, 2016 at 12:38 PM, Nate Klingenstein <span dir="ltr"><<a href="mailto:nate.klingenstein@utah.edu" target="_blank">nate.klingenstein@utah.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Trevor,<br>
<br>
It looks to me like you’ve set the default namespace on your resolver:DataConnector element to xmlns="urn:mace:shibboleth:2.0:resolver:dc”.  I would try removing that.  You may need to add the dc: namespace to your xsi:type.<br>
<br>
Thanks,<br>
Nate.<br>
<div><div class="h5"><br>
> On Mar 29, 2016, at 13:30, Trevor Robinson <<a href="mailto:tprobinson93@gmail.com">tprobinson93@gmail.com</a>> wrote:<br>
><br>
> Hello,<br>
><br>
> I've been trying to set up Shibboleth for the first time, and I'm hitting a strange problem. In attribute-resolver.xml, I'm trying to define a <FilterTemplate> for my LDAPDirectory, but Shibboleth bails on parsing the file saying that it doesn't know what a FilterTemplate element is, as if the namespace is wrong. I've tried the example from the wiki, and examples from other places, with the xmlns and without, and with the element dc: prefix and without. It also treats ReturnAttributes in the same way.<br>
><br>
> Here's a pastebin of my attribute-resolver.xml: <a href="http://pastebin.com/ZZbeCbjf" rel="noreferrer" target="_blank">http://pastebin.com/ZZbeCbjf</a><br>
> Here's a pastebin of the errors: <a href="http://pastebin.com/jp0et3VY" rel="noreferrer" target="_blank">http://pastebin.com/jp0et3VY</a><br>
><br>
> Thanks,<br>
><br>
</div></div>> Trevor Robinson--<br>
> To unsubscribe from this list send an email to <a href="mailto:users-unsubscribe@shibboleth.net">users-unsubscribe@shibboleth.net</a><br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
To unsubscribe from this list send an email to <a href="mailto:users-unsubscribe@shibboleth.net">users-unsubscribe@shibboleth.net</a></font></span></blockquote></div><br></div>