Hello,
At the moment it is possible that the login to the Management Console fails without an error message or with a misleading error. In the Console Log there appears the following Traceback:
29.02.16 00:42:31.533 MAIN ( PROCESS ) : SessionClient(0x4478f50):
_authenticated: success=True status=200 message=None
29.02.16 00:42:31.534 MAIN ( ERROR ) : Traceback (most recent call
last):
File "/usr/lib/python2.7/dist-packages/cherrypy/_cprequest.py", line 656, in
respond
response.body = self.handler()
File "/usr/lib/python2.7/dist-packages/cherrypy/lib/encoding.py", line 188,
in __call__
self.body = self.oldhandler(*args, **kwargs)
File "/usr/lib/python2.7/dist-packages/cherrypy/_cpdispatch.py", line 34, in
__call__
return self.callable(*self.args, **self.kwargs)
File "/usr/sbin/univention-management-console-web-server", line 1010, in
default
return self._auth_request(req, sessionid)
File "/usr/sbin/univention-management-console-web-server", line 1035, in
_auth_request
self.set_session(sessionid, username)
File "/usr/sbin/univention-management-console-web-server", line 699, in
set_session
self.set_cookies(('UMCSessionId', sessionid), ('UMCUsername', username))
File "/usr/sbin/univention-management-console-web-server", line 678, in
set_cookies
expires = expires.replace(year=expires.year + 5)
ValueError: day is out of range for month
This Problem is due to a leap year and can be fixed by using the following commands:
sed -i 's|expiration.year + 5)|expiration.year + 4)|' /usr/sbin/univention-management-console-web-server
sed -i 's|expires.year + 5)|expires.year + 4)|' /usr/sbin/univention-management-console-web-server
/etc/init.d/univention-management-console-web-server restart
Additionally, we will provide an Erratum today, that will fix this behaviour.
Kind Regards,
Jens Thorp-Hansen