Attributes missing in $_SERVER

Ulrich Lorenz PH Luzern lorenz.ulrich at phlu.ch
Tue Aug 20 12:05:25 EDT 2013


Hello everyone

I'm currently setting up a Vagrant box as development base for one of our projects. Since we authenticate using Shibboleth, the same is also needed for the dev environment.

We're running several SPs, all of them in PHP/MySQL environments, and didn't have any problems apart from the usual beginner pitfalls.

In my Vagrant box I have a really weird problem and didn't find a hint how to solve it, neither in the logs, nor in the archive:

The authentication to works fine and the IdP redirects back to the SP. The Shibboleth session looks OK:

Miscellaneous
Client Address: 192.168.23.1
Identity Provider: https://idp.phlu.ch/idp/shibboleth
SSO Protocol: urn:oasis:names:tc:SAML:2.0:protocol
Authentication Time: 2013-08-20T15:46:44.611Z
Authentication Context Class: urn:oasis:names:tc:SAML:2.0:ac:classes:PasswordProtectedTransport
Authentication Context Decl: (none)
Session Expiration (barring inactivity): 479 minute(s)

Attributes
[some other attributes]
affiliation: 2 value(s)
givenName: 1 value(s)
homeOrganization: 1 value(s)
homeOrganizationType: 1 value(s)
mail: 1 value(s)
persistent-id: 1 value(s)
surname: 1 value(s)
uniqueID: 1 value(s)

Also the log states that the session was created:

2013-08-20 15:46:44 INFO Shibboleth.SessionCache [6]: new session created: ID (_
9582827607e3554a4fc8b9da0d15b12c) IdP (https://idp.phlu.ch/idp/shibboleth) Proto
col(urn:oasis:names:tc:SAML:2.0:protocol) Address (192.168.23.1)
2013-08-20 15:46:44 DEBUG Shibboleth.SSO.SAML2 [6]: ACS returning via redirect t
o: https://portal.phlu.dev/phlu.portal/account/authenticate
2013-08-20 15:46:55 DEBUG Shibboleth.Listener [7]: dispatching message (find::St
orageService::SessionCache)

But in the $_SERVER global variable, there are no traces of a valid Shibboleth session apart from the cookie:

  ["HTTP_COOKIE"]=>

  string(182) "_shibsession_64656661756c7468747470733a2f2f706f7274616c2e70686c752e6465762f73686962626f6c657468=_9582827607e3554a4fc8b9da0d15b12c; TYPO3_Flow_Session=tOfPgzFqptKsQcFewPCt9BJl7mIDj9Cu"

I already turned on logging for Shibboleth (DEBUG level) but found no information about things going wrong. In the Apache log I don't find any hints, too. Maybe there are other logs I don't know (yet) that could help me.

Any help or advice is appreciated.

My environment:
Ubuntu 12.10
Apache 2.2
PHP 5.4.6
Shibboleth SP 2.4.3

Thanks and best regards,

Lorenz

.......................................................
PH Luzern
Lorenz Ulrich
Webentwickler
Löwengraben 14
6004 Luzern
Tel:   +41 (0)41 228 70 25
Web:  www.phlu.ch<http://www.phlu.ch>
Mail: lorenz.ulrich at phlu.ch<mailto:lorenz.ulrich at phlu.ch>
.......................................................
Erreichbarkeit: Di, Fr
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://shibboleth.net/pipermail/users/attachments/20130820/43a6c8d3/attachment.html 


More information about the users mailing list