<div dir="ltr"><div dir="ltr">Thanks Peter for taking a time and respond.<br></div><div dir="ltr"><br></div><div>Your are right I have not enough Shibboleth background needed to do this task. I'm going to looking for someone to help me.</div><div><br></div><div>Regards. </div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">El vie., 13 mar. 2020 a las 9:33, Peter Schober (<<a href="mailto:peter.schober@univie.ac.at">peter.schober@univie.ac.at</a>>) escribió:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">* Gustavo Duarte <<a href="mailto:gus.duarte@gmail.com" target="_blank">gus.duarte@gmail.com</a>> [2020-03-12 20:18]:<br>
> Seeing the logs, i cant figure out what is the attribute error<br>
> configuration.<br>
<br>
You seriously expect other people to read your own logs on your<br>
behalf, all 20777 lines of them?<br>
If that's your attitude (or level of competence) you should really<br>
look for someone else to handle setting up a SAML IDP for you.<br>
<br>
But here are a few things to get you started:<br>
<br>
Your LDAP config was/is incorrect:<br>
<br>
2020-03-12 12:46:44,709 - IP - WARN [net.shibboleth.idp.authn.impl.ValidateUsernamePasswordAgainstLDAP:192] - Profile Action ValidateUsernamePasswordAgainstLDAP: Login by ceibaltest1@gusduarte.tech produced exception<br>
org.ldaptive.LdapException: javax.naming.NameNotFoundException: [LDAP: error code 32 - No Such Object]; remaining name 'ou=people, dc=gusduarte,dc=tech'<br>
at org.ldaptive.provider.ProviderUtils.throwOperationException(ProviderUtils.java:77)<br>
Caused by: javax.naming.NameNotFoundException: [LDAP: error code 32 - No Such Object]<br>
<br>
You have undefined properties, probably from having messed up the<br>
conf/ldap.properties file:<br>
<br>
2020-03-12 18:18:44,302 - IP - WARN [net.shibboleth.ext.spring.context.FilesystemGenericApplicationContext:551] - Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanDefinitionStoreException: Invalid bean definition with name 'myLDAP' defined in null: Could not resolve placeholder 'idp.attribute.resolver.LDAP.searchFilter' in value "%{idp.attribute. resolver.LDAP.searchFilter}"; nested exception is java.lang.IllegalArgumentException: Could not resolve placeholder 'idp.attribute.resolver. LDAP.searchFilter' in value "%{idp.attribute.resolver.LDAP.searchFilter}"<br>
<br>
That's what stops your resolver from loading.<br>
<br>
Also, your IDP does not support the NameID the SP requested:<br>
<br>
2020-03-12 18:19:52,507 - IP - WARN [org.opensaml.profile.action.impl.LogEvent:105] - A non-proceed event occurred while processing the request: InvalidNameIDPolicy<br>
<br>
Further comments (amazing, for a resolver config that's only 69 lines):<br>
<br>
So you started by moving to the old, deprecated sytax and removed the<br>
(modern) InputAttributeDefinition child elements, and relaced them<br>
with (deprecated) Depency child elemenst. A choice that doesn't make<br>
any sense to me.<br>
<br>
You have two attribute definitions in that file and the first one<br>
("ImmutableID") serves no purpose: It doesn't have an encoder<br>
attached, doesn't match any attribute id in the new attribute registry<br>
default configuration and also isn't being used by any other attribute<br>
in the resolver. So pointless.<br>
The other one seems confused to me: A "UserId" attribute that actually<br>
pulls data from your "mail" attribtue in LDAP (so isn't a UserId) and<br>
has an encoder that puts that into an attribute callesd<br>
"IDPEmail". But at least that could work (provided the NameFormat is<br>
correct for what the SP expects I don't know.)<br>
<br>
-peter<br>
-- <br>
For Consortium Member technical support, see <a href="https://wiki.shibboleth.net/confluence/x/coFAAg" rel="noreferrer" target="_blank">https://wiki.shibboleth.net/confluence/x/coFAAg</a><br>
To unsubscribe from this list send an email to <a href="mailto:users-unsubscribe@shibboleth.net" target="_blank">users-unsubscribe@shibboleth.net</a><br>
</blockquote></div></div>