Hide Forgot
Description of problem: libcurl lost and recently regained the ability to do Kerberos TGT forwarding via GSSAPI Delegation. However, the ability to do this has not extended to the Command line tool Version-Release number of selected component (if applicable): curl-7.21.3-9.fc15.x86_64 How reproducible: 100% Steps to Reproduce: 1. Attempt to Use Curl against an application that requires TGT Delegation, such as IPA. Actual results: Error from the server stating TGT was not provided Expected results: Normal functioning Additional info: This has been fixed upstream in: https://github.com/bagder/curl/commit/5538904d775161d1a0fa3ebb77
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