Rapport de bug pour WCS - 152

Le formulaire a été enregistré le 25/10/2006 14:23 avec le numéro 152.

Nom de l'utilisateurDamien Laniel

Type Bug

Commentaire / explication

WCS crashes when doing an SSO with SAML2 and refusing the federation.

This can be reproduced after a patch for Authentic (that I will send) has been applied. Without this patch, Authentic crashes before.

Erreur affichée

func=xmlSecOpenSSLAppKeyLoad:file=app.c:line=124:obj=unknown:subj=filename != NULL:error=100:assertion:
func=xmlSecOpenSSLAppKeyLoad:file=app.c:line=124:obj=unknown:subj=filename != NULL:error=100:assertion:
[2006-10-25 14:17:35] exception caught
Traceback (most recent call last):
  File "/usr/lib/python2.3/site-packages/quixote/publish.py", line 278, in process_request
    output = self.try_publish(request)
  File "/usr/lib/python2.3/site-packages/wcs/__init__.py", line 163, in try_publish
    return WcsPublisher.try_publish(self, request)
  File "/usr/lib/python2.3/site-packages/wcs/__init__.py", line 154, in try_publish
    return Publisher.try_publish(self, request)
  File "/usr/lib/python2.3/site-packages/quixote/publish.py", line 256, in try_publish
    output = self.root_directory._q_traverse(components)
  File "/usr/lib/python2.3/site-packages/wcs/root.ptl", line 180, in _q_traverse    return Directory._q_traverse(self, path)
  File "/usr/lib/python2.3/site-packages/quixote/directory.py", line 66, in _q_traverse
    return obj._q_traverse(path)
  File "/usr/lib/python2.3/site-packages/quixote/directory.py", line 70, in _q_traverse
    return obj()
  File "/usr/lib/python2.3/site-packages/wcs/saml2.ptl", line 56, in singleSignOnArtifact
    login.processResponseMsg(soap_answer)
  File "/usr/lib/python2.3/site-packages/lasso.py", line 1801, in processResponseMsg
    def processResponseMsg(*args): return _lasso.Login_processResponseMsg(*args)Error: (-1, 'Lasso Error: Undefined error case')

Form:
SAMLArt         AASMAmiQZr504 FfAK5CUtsNTObMSDc4REQ5RUZGMjVGMjhCNDZGQjMw

Cookies:

Environment:
CONTENT_LENGTH  0
DOCUMENT_ROOT   /usr/share/wcs/web/
HTTP_ACCEPT     text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
HTTP_ACCEPT_CHARSET UTF-8,*
HTTP_ACCEPT_ENCODING gzip,deflate
HTTP_ACCEPT_LANGUAGE fr-fr,fr;q=0.8,en;q=0.6,de;q=0.4,eo;q=0.2
HTTP_CONNECTION keep-alive
HTTP_HOST       wcs.local
HTTP_KEEP_ALIVE 300
HTTP_REFERER    http://idp.local/saml/consent
HTTP_USER_AGENT Mozilla/5.0 (X11; U; Linux i686; fr; rv:1.8.0.7) Gecko/20060830 Firefox/1.5.0.7 (Debian-1.5.dfsg+1.5.0.7-2)
PATH_INFO       /saml/singleSignOnArtifact
QUERY_STRING    SAMLArt=AASMAmiQZr504+FfAK5CUtsNTObMSDc4REQ5RUZGMjVGMjhCNDZGQjMwREMOTE_ADDR     127.0.0.2
REMOTE_PORT     59238
REQUEST_METHOD  GET
REQUEST_URI     /saml/singleSignOnArtifact?SAMLArt=AASMAmiQZr504+FfAK5CUtsNTObMSDc4REQ5RUZGMjVGMjhCNDZGQjMw
SCGI            1
SCRIPT_NAME
SERVER_ADDR     127.0.0.2
SERVER_ADMIN    webmaster@locahost
SERVER_NAME     wcs.local
SERVER_PORT     80
SERVER_PROTOCOL HTTP/1.1
SERVER_SOFTWARE Apache/2.0.55 (Debian) mod_python/3.2.10 Python/2.4.4c1 PHP/4.4.4-1 proxy_html/2.4 mod_scgi/1.11 mod_ssl/2.0.55 OpenSSL/0.9.8c

StatutRejetée

Historique

11/01/2007 13:54 Frédéric Péters
Rejetée

Probably fixed since then.