On 12/19/2012 05:50 AM, Sumit Bose wrote:
On Wed, Dec 19, 2012 at 09:13:21AM +0100, Petr Spacek wrote:
On 12/18/2012 09:56 PM, John Dennis wrote:

ipa: ERROR: unable to parse cookie header
'ipa_session=f963e8e4006fdcd79e1a2a5a989b4d01; Domain=<IPA.DOMAIN>;
Path=/ipa; Expires=Thu, 18 Dec 2012 13:54:33 GMT; Secure; HttpOnly':
unable to parse expires datetime 'Thu, 18 Dec 2012 13:54:33'

John, could it be related to LANG environment variable? Is the
parser sensitive to LANG/other variables?

Andre, could you post output from "echo $LANG", please?
(Logged in as user which ran IPA commands.)

Petr, I think you are right, I can reproduce this issue if httpd and the
client session use "incompatible" LANG settings. E.g. I have LANG=C for
httpd and LANG=de_DE.UTF-8 in the shell.

Thank you for confirming this. I too wondered if this might be the case. I recall wondering if the locale would be an issue when using using strptime() to parse the date. I'll file a ticket and provide a patch.


--
John Dennis <jden...@redhat.com>

Looking to carve out IT costs?
www.redhat.com/carveoutcosts/

_______________________________________________
Freeipa-users mailing list
Freeipa-users@redhat.com
https://www.redhat.com/mailman/listinfo/freeipa-users

Reply via email to