Bug 1093348
Summary: | Kerberos authentication fails when server gives two 'WWW-Authenticate: Negotiate' headers | ||||||
---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | David Woodhouse <dwmw2> | ||||
Component: | curl | Assignee: | Kamil Dudka <kdudka> | ||||
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
Severity: | unspecified | Docs Contact: | |||||
Priority: | unspecified | ||||||
Version: | 20 | CC: | dwmw2, kdudka, paul | ||||
Target Milestone: | --- | Keywords: | Patch | ||||
Target Release: | --- | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Whiteboard: | |||||||
Fixed In Version: | curl-7.29.0-19.fc19 | Doc Type: | Bug Fix | ||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2014-05-16 10:08:41 UTC | Type: | Bug | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Bug Depends On: | |||||||
Bug Blocks: | 1754736 | ||||||
Attachments: |
|
Description
David Woodhouse
2014-05-01 13:42:37 UTC
FWIW firefox also fails, now the server has started doing this. I don't actually think the server is wrong, is it? Just misguided, perhaps. I haven't debugged the firefox behaviour; curl was easier... (In reply to David Woodhouse from comment #1) > FWIW firefox also fails, now the server has started doing this. I don't > actually think the server is wrong, is it? If I understand it correctly, it is not curl's behavior what changed. The server in question just started to send duplicated HTTP headers for no apparent reason. I believe it makes sense to get curl ready for this. We should probably also notify the maintainers of the server as the change seems to break many clients. Created attachment 892526 [details]
http: avoid auth failure on a duplicated header [NOT TESTED]
David, could you please check whether the attached patch fixes the problem? Yes, that fixes it. Thanks. (Firefox is *not* failing, btw. It did fail... and that's why I was looking with curl. But by the time I looked again, Firefox was working again and I don't know why it ever didn't). Thanks you for testing the patch, David! I have proposed the patch upstream: http://thread.gmane.org/gmane.comp.web.curl.library/42368 Hopefully it was not a change on the server what made it work in both cases :-) upstream commit: https://github.com/bagder/curl/commit/ec5fde24 fixed in curl-7.36.0-4.fc21 curl-7.29.0-19.fc19 has been submitted as an update for Fedora 19. https://admin.fedoraproject.org/updates/curl-7.29.0-19.fc19 curl-7.32.0-10.fc20 has been submitted as an update for Fedora 20. https://admin.fedoraproject.org/updates/curl-7.32.0-10.fc20 Package curl-7.32.0-10.fc20: * should fix your issue, * was pushed to the Fedora 20 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing curl-7.32.0-10.fc20' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2014-6241/curl-7.32.0-10.fc20 then log in and leave karma (feedback). curl-7.32.0-10.fc20 has been pushed to the Fedora 20 stable repository. If problems still persist, please make note of it in this bug report. curl-7.29.0-19.fc19 has been pushed to the Fedora 19 stable repository. If problems still persist, please make note of it in this bug report. |