Skip to Content.
Sympa Menu

en - [sympa-users] CAS logout syntax error

Subject: The mailing list for listmasters using Sympa

List archive

Chronological Thread  
  • From: <address@concealed>
  • To: address@concealed
  • Subject: [sympa-users] CAS logout syntax error
  • Date: Fri, 29 Oct 2010 20:50:40 +0200

Firstly... i absolutely love Sympa ! Ok.. on to the problem:

This is the same error reported a while ago by another user (I'm running a
newer 6.1b.4 with a very vanilla CAS setup 3.4.3):

Previous report (no resolution or further comments on that thread):
https://listes.cru.fr/sympa/arc/sympa-users/2008-12/msg00017.html

Login works fine, logout seems to work fine as well, but in the sympa logs i'm
getting a report of syntax error on the logoutRequest parameter. It's a SAML
xml value post coming from the CAS server which is failing on the [\w\-\.]+
regex validation (which it would since it is XML and contains more than a
word, dash or dot):

Oct 29 10:32:55 icarus wwsympa[9307]: err [robot lists.mydomain.ca] [client
10.10.7.2] main::get_parameters() get_parameters: syntax error for parameter
logoutRequest value '<samlp:LogoutRequest
xmlns:samlp="urn:oasis:names:tc:SAML:2.0:protocol" ID="LR-4-
nNJFPCnS7fgUl2zHq9a3ZIoVVIKuQ3l2WRz" Version="2.0"
IssueInstant="2010-10-29T10:32:55Z"><saml:NameID
xmlns:saml="urn:oasis:names:tc:SAML:2.0:assertion">@NOT_USED@</
saml:NameID><samlp:SessionIndex>ST-4-jYBtX6BePI7zeeLm0gCk-cas</
samlp:SessionIndex></samlp:LogoutRequest>' not conform to regexp:[\w\-\.]+ ;
dumped vars in /home/sympa/spool/tmp/sympa_dump.1288373575.9307


The contents of the var dump:

_email_
''
_logoutRequest_
'<samlp:LogoutRequest
xmlns:samlp="urn:oasis:names:tc:SAML:2.0:protocol" ID="LR-4-
nNJFPCnS7fgUl2zHq9a3ZIoVVIKuQ3l2WRz" Version="2.0"
IssueInstant="2010-10-29T10:32:55Z"><saml:NameID
xmlns:saml="urn:oasis:names:tc:SAML:2
.0:assertion">@NOT_USED@</saml:NameID><samlp:SessionIndex>ST-4-
jYBtX6BePI7zeeLm0gCk-cas</samlp:SessionIndex></samlp:LogoutRequest>'


Again, the logout seems to be registered in sympa... i am logged out, just not
sure how concerned i should be about this syntax error. I didn't dig too
deeply in the code, but it looks like different parameters have their own
regex patterns to validate against ?

I'm not sure if it is a CAS issue or a Sympa issue. Again, my CAS setup is
pretty basic.. any ideas ?



  • [sympa-users] CAS logout syntax error, david, 10/29/2010

Archive powered by MHonArc 2.6.19+.

Top of Page