* 'fiambre wwiiol' via SimpleSAMLphp <
simple...@googlegroups.com> [2018-01-09 14:39]:
> We started following several documentation, one from an example done
> for RedIris and the docs available at the installation itself
If you're part of the Spanish Research and Education community then
you can always ask RedIRIS. Noone else will support you following
their documentation.
This project and community can only support people following its own
documentation. There's just too much nonsense on the net.
> I added the attributte array in the authproc.idp filter and the uid
> missing lines are gone but Alfresco keeps saying there is no uid in
> the answer.
>
> " 2018-01-09 14:26:05,780 ERROR [scripts.saml.SSOResponseACSPost]
> [http-apr-8080-exec-7] [share] [SAML:-default-]
> [spSsoURL=
http://my-server/share/page/saml-authnresponse] SSO AuthnResponse
> - login validation encountered a problem: 00093145 Couldn't get user from
> auth response [-default-] - check that the appropriate IdP attribute is
> mapped and that the IdP user has a valid value
> org.alfresco.error.AlfrescoRuntimeException: 00093145 Couldn't get user
> from auth response [-default-] - check that the appropriate IdP attribute
> is mapped and that the IdP user has a valid value [...]"
I don't know any technical detail what specifically you need to send
(you started with questions about SAML 2.0 persistent NameIDs, but the
error message above is about SAML Attributes). And the error message
above has no technical details about what it expected and what it got.
So nothing you wrote so far will allow anyone else to debug your problem.
From the wording of the error message above I'd say that you should
forget about NameIDs (unless their documentation says they are
required) and use attributes instead. The error message suggests that
you can chose to map any attribute of your chosing in their software.
> Our problem might be related to another problem I posted today, of
> which we were not aware till I started yesterday redoing all the
> steps again... Alfresco gives us a XML for the saml, we put that in
> the ssaml parser , the parser gives us a php body to add in the
> saml20-idp-remote.php that looks correct, but the logs are showing
> some errors, so that body might be uncomplete or wrong... and so we
> dont get the uid correctly (?)
So you're having yet another problem again unrelated to NameIDs?
What do you mean with "XML for the saml" specifically? An example of
SAML protocol messages? Of SAML Metadata? These are all "XML" and all
are art of "SAML".
And unless Alfresco uses SimpleSAMLphp (which I doubt but don't know)
you don't put anything into saml20-idp-remote.php on your
SimpelSAMLphp, as that is your local/"hosted" IDP. So your IDP only
cares about saml20-idp-hosted.php (itself) or saml20-sp-remote.php
(SPs your IDP should federate with).
And obviously (?) "the logs are showing some errors" is not a
technical error report and sending unusable reports like this will not
allow anyone to help you.
> Is there a way to see what is saml sending to alfresco (not encrypted)?
Turning up logging should do this. Or removing the encryption key from
the SP's metadata (more drastic measure), I guess.
-peter