Bug 730445
| Summary: | Curl command line No longer supports GSSAPI Delegation | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 6 | Reporter: | Adam Young <ayoung> |
| Component: | curl | Assignee: | Kamil Dudka <kdudka> |
| Status: | CLOSED ERRATA | QA Contact: | Miroslav Vadkerti <mvadkert> |
| Severity: | low | Docs Contact: | |
| Priority: | medium | ||
| Version: | 6.1 | CC: | dpal, mvadkert, ovasik, prc, rnelson |
| Target Milestone: | rc | ||
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | curl-7.19.7-30.el6 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2013-02-21 10:09:18 UTC | Type: | --- |
| 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: | 730444 | ||
| Bug Blocks: | 746849, 782183, 840699 | ||
|
Description
Adam Young
2011-08-13 00:56:23 UTC
This request was evaluated by Red Hat Product Management for inclusion in the current release of Red Hat Enterprise Linux. Because the affected component is not scheduled to be updated in the current release, Red Hat is unfortunately unable to address this request at this time. Red Hat invites you to ask your support representative to propose this request, if appropriate and relevant, in the next release of Red Hat Enterprise Linux. If you would like it considered as an exception in the current release, please ask your support representative. (In reply to comment #0) > Steps to Reproduce: > 1. Attempt to Use Curl against an application that requires TGT Delegation, > such as IPA. How can one use curl this way? Please provide a self-contained step by step howto. It depends on the web Server: If the server requires TGT forwarding, it will fail if the Ticket is not forwarded.
The easiest way to test is to install Enterprise IPA and attempt to contact it like this:
curl -v \
-H "Content-Type:application/json" \
-H "Accept:applicaton/json"\
--negotiate -u : \
--cacert /etc/ipa/ca.crt \
-d '{"method":"user_find","params":[[""],{}],"id":0}' \
-X POST https://`hostname`/ipa/json
As documented here:
http://adam.younglogic.com/2010/07/talking-to-freeipa-json-web-api-via-curl/
This worked until GSSAPI Delegation was removed due to the security vulnerability reported here:
http://curl.haxx.se/mail/lib-2011-07/0054.html
in RHSA-2011:0918-01
The library has been modified to once again allow GSSAPI delegation, but it is deliberate. The feature is not yet available in the CLI, which technically is a regression.
I somehow overlooked the note about the already added upstream option for this feature. Then there is no problem in carrying the option to RHEL-6. Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. http://rhn.redhat.com/errata/RHBA-2013-0393.html |