{"action":"created","comment":{"url":"https://api.github.com/repos/curl/curl/pulls/comments/57353215","id":57353215,"diff_hunk":"@@ -1521,6 +1521,16 @@ CURLcode Curl_setopt(struct SessionHandle *data, CURLoption option,\n                        va_arg(param, char *));\n     break;\n \n+#ifdef HAVE_GSS_ACQUIRE_CRED_FROM\n+  case CURLOPT_KRB_CCACHE:","path":"lib/url.c","position":5,"original_position":5,"commit_id":"8f06d31c256491351cd0d77316eb683263802479","original_commit_id":"8f06d31c256491351cd0d77316eb683263802479","user":{"login":"michael-o","id":573017,"avatar_url":"https://avatars.githubusercontent.com/u/573017?v=3","gravatar_id":"","url":"https://api.github.com/users/michael-o","html_url":"https://github.com/michael-o","followers_url":"https://api.github.com/users/michael-o/followers","following_url":"https://api.github.com/users/michael-o/following{/other_user}","gists_url":"https://api.github.com/users/michael-o/gists{/gist_id}","starred_url":"https://api.github.com/users/michael-o/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/michael-o/subscriptions","organizations_url":"https://api.github.com/users/michael-o/orgs","repos_url":"https://api.github.com/users/michael-o/repos","events_url":"https://api.github.com/users/michael-o/events{/privacy}","received_events_url":"https://api.github.com/users/michael-o/received_events","type":"User","site_admin":false},"body":"Make sure that you retain the sematics `KRB5CCNAME` and/or `gss_acquire_cred_from` imply.","created_at":"2016-03-24T17:20:45Z","updated_at":"2016-03-24T17:20:45Z","html_url":"https://github.com/curl/curl/pull/723#discussion_r57353215","pull_request_url":"https://api.github.com/repos/curl/curl/pulls/723","_links":{"self":{"href":"https://api.github.com/repos/curl/curl/pulls/comments/57353215"},"html":{"href":"https://github.com/curl/curl/pull/723#discussion_r57353215"},"pull_request":{"href":"https://api.github.com/repos/curl/curl/pulls/723"}}},"pull_request":{"url":"https://api.github.com/repos/curl/curl/pulls/723","id":63816293,"html_url":"https://github.com/curl/curl/pull/723","diff_url":"https://github.com/curl/curl/pull/723.diff","patch_url":"https://github.com/curl/curl/pull/723.patch","issue_url":"https://api.github.com/repos/curl/curl/issues/723","number":723,"state":"open","locked":false,"title":"WIP: GSSAPI - Add option to specify Kerberos credential-cache","user":{"login":"frenche","id":7945916,"avatar_url":"https://avatars.githubusercontent.com/u/7945916?v=3","gravatar_id":"","url":"https://api.github.com/users/frenche","html_url":"https://github.com/frenche","followers_url":"https://api.github.com/users/frenche/followers","following_url":"https://api.github.com/users/frenche/following{/other_user}","gists_url":"https://api.github.com/users/frenche/gists{/gist_id}","starred_url":"https://api.github.com/users/frenche/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/frenche/subscriptions","organizations_url":"https://api.github.com/users/frenche/orgs","repos_url":"https://api.github.com/users/frenche/repos","events_url":"https://api.github.com/users/frenche/events{/privacy}","received_events_url":"https://api.github.com/users/frenche/received_events","type":"User","site_admin":false},"body":"This allows server-side applications to run transfers on behalf\r\nof different users, using different Kerberos credential-cache\r\n(files or other types) for authentication via GSSAPI interface.\r\n\r\nExample usage:\r\n  kinit -c /tmp/uid_cc user@REALM\r\n  klist -c /tmp/uid_cc\r\n\r\n  CURL *hnd = curl_easy_init();\r\n  curl_easy_setopt(hnd, CURLOPT_URL, \"http://host/path/\");\r\n  curl_easy_setopt(hnd, CURLOPT_USERPWD, \":\");\r\n  curl_easy_setopt(hnd, CURLOPT_HTTPAUTH, CURLAUTH_NEGOTIATE);\r\n  curl_easy_setopt(hnd, CURLOPT_KRB_CCACHE, \"/tmp/uid_cc\");\r\n  curl_easy_setopt(hnd, CURLOPT_VERBOSE, 1L);\r\n  curl_easy_perform(hnd);\r\n\r\nImplemented via MIT's GSSAPI Credential-Store API.\r\n\r\nWork in progress.","created_at":"2016-03-23T00:47:01Z","updated_at":"2016-03-24T17:20:45Z","closed_at":null,"merged_at":null,"merge_commit_sha":"217edf0a25369cc754d81c08517a6ed1e052d76b","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/curl/curl/pulls/723/commits","review_comments_url":"https://api.github.com/repos/curl/curl/pulls/723/comments","review_comment_url":"https://api.github.com/repos/curl/curl/pulls/comments{/number}","comments_url":"https://api.github.com/repos/curl/curl/issues/723/comments","statuses_url":"https://api.github.com/repos/curl/curl/statuses/8f06d31c256491351cd0d77316eb683263802479","head":{"label":"frenche:krb_ccache","ref":"krb_ccache","sha":"8f06d31c256491351cd0d77316eb683263802479","user":{"login":"frenche","id":7945916,"avatar_url":"https://avatars.githubusercontent.com/u/7945916?v=3","gravatar_id":"","url":"https://api.github.com/users/frenche","html_url":"https://github.com/frenche","followers_url":"https://api.github.com/users/frenche/followers","following_url":"https://api.github.com/users/frenche/following{/other_user}","gists_url":"https://api.github.com/users/frenche/gists{/gist_id}","starred_url":"https://api.github.com/users/frenche/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/frenche/subscriptions","organizations_url":"https://api.github.com/users/frenche/orgs","repos_url":"https://api.github.com/users/frenche/repos","events_url":"https://api.github.com/users/frenche/events{/privacy}","received_events_url":"https://api.github.com/users/frenche/received_events","type":"User","site_admin":false},"repo":{"id":34619945,"name":"curl","full_name":"frenche/curl","owner":{"login":"frenche","id":7945916,"avatar_url":"https://avatars.githubusercontent.com/u/7945916?v=3","gravatar_id":"","url":"https://api.github.com/users/frenche","html_url":"https://github.com/frenche","followers_url":"https://api.github.com/users/frenche/followers","following_url":"https://api.github.com/users/frenche/following{/other_user}","gists_url":"https://api.github.com/users/frenche/gists{/gist_id}","starred_url":"https://api.github.com/users/frenche/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/frenche/subscriptions","organizations_url":"https://api.github.com/users/frenche/orgs","repos_url":"https://api.github.com/users/frenche/repos","events_url":"https://api.github.com/users/frenche/events{/privacy}","received_events_url":"https://api.github.com/users/frenche/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/frenche/curl","description":"Curl is a tool and libcurl is a library for transferring data with URL syntax, supporting FTP, FTPS, HTTP, HTTPS, GOPHER, TFTP, SCP, SFTP, TELNET, DICT, LDAP, LDAPS, FILE, IMAP, SMTP, POP3, RTSP and RTMP. libcurl offers a myriad of powerful features","fork":true,"url":"https://api.github.com/repos/frenche/curl","forks_url":"https://api.github.com/repos/frenche/curl/forks","keys_url":"https://api.github.com/repos/frenche/curl/keys{/key_id}","collaborators_url":"https://api.github.com/repos/frenche/curl/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/frenche/curl/teams","hooks_url":"https://api.github.com/repos/frenche/curl/hooks","issue_events_url":"https://api.github.com/repos/frenche/curl/issues/events{/number}","events_url":"https://api.github.com/repos/frenche/curl/events","assignees_url":"https://api.github.com/repos/frenche/curl/assignees{/user}","branches_url":"https://api.github.com/repos/frenche/curl/branches{/branch}","tags_url":"https://api.github.com/repos/frenche/curl/tags","blobs_url":"https://api.github.com/repos/frenche/curl/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/frenche/curl/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/frenche/curl/git/refs{/sha}","trees_url":"https://api.github.com/repos/frenche/curl/git/trees{/sha}","statuses_url":"https://api.github.com/repos/frenche/curl/statuses/{sha}","languages_url":"https://api.github.com/repos/frenche/curl/languages","stargazers_url":"https://api.github.com/repos/frenche/curl/stargazers","contributors_url":"https://api.github.com/repos/frenche/curl/contributors","subscribers_url":"https://api.github.com/repos/frenche/curl/subscribers","subscription_url":"https://api.github.com/repos/frenche/curl/subscription","commits_url":"https://api.github.com/repos/frenche/curl/commits{/sha}","git_commits_url":"https://api.github.com/repos/frenche/curl/git/commits{/sha}","comments_url":"https://api.github.com/repos/frenche/curl/comments{/number}","issue_comment_url":"https://api.github.com/repos/frenche/curl/issues/comments{/number}","contents_url":"https://api.github.com/repos/frenche/curl/contents/{+path}","compare_url":"https://api.github.com/repos/frenche/curl/compare/{base}...{head}","merges_url":"https://api.github.com/repos/frenche/curl/merges","archive_url":"https://api.github.com/repos/frenche/curl/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/frenche/curl/downloads","issues_url":"https://api.github.com/repos/frenche/curl/issues{/number}","pulls_url":"https://api.github.com/repos/frenche/curl/pulls{/number}","milestones_url":"https://api.github.com/repos/frenche/curl/milestones{/number}","notifications_url":"https://api.github.com/repos/frenche/curl/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/frenche/curl/labels{/name}","releases_url":"https://api.github.com/repos/frenche/curl/releases{/id}","deployments_url":"https://api.github.com/repos/frenche/curl/deployments","created_at":"2015-04-26T16:22:18Z","updated_at":"2016-02-03T15:24:04Z","pushed_at":"2016-03-23T00:42:57Z","git_url":"git://github.com/frenche/curl.git","ssh_url":"git@github.com:frenche/curl.git","clone_url":"https://github.com/frenche/curl.git","svn_url":"https://github.com/frenche/curl","homepage":"http://curl.haxx.se/","size":34764,"stargazers_count":0,"watchers_count":0,"language":"C","has_issues":false,"has_downloads":false,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"curl:master","ref":"master","sha":"d5e7f50e6394cf92e5d9d133ec0b6dabdc4561f8","user":{"login":"curl","id":16928085,"avatar_url":"https://avatars.githubusercontent.com/u/16928085?v=3","gravatar_id":"","url":"https://api.github.com/users/curl","html_url":"https://github.com/curl","followers_url":"https://api.github.com/users/curl/followers","following_url":"https://api.github.com/users/curl/following{/other_user}","gists_url":"https://api.github.com/users/curl/gists{/gist_id}","starred_url":"https://api.github.com/users/curl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/curl/subscriptions","organizations_url":"https://api.github.com/users/curl/orgs","repos_url":"https://api.github.com/users/curl/repos","events_url":"https://api.github.com/users/curl/events{/privacy}","received_events_url":"https://api.github.com/users/curl/received_events","type":"Organization","site_admin":false},"repo":{"id":569041,"name":"curl","full_name":"curl/curl","owner":{"login":"curl","id":16928085,"avatar_url":"https://avatars.githubusercontent.com/u/16928085?v=3","gravatar_id":"","url":"https://api.github.com/users/curl","html_url":"https://github.com/curl","followers_url":"https://api.github.com/users/curl/followers","following_url":"https://api.github.com/users/curl/following{/other_user}","gists_url":"https://api.github.com/users/curl/gists{/gist_id}","starred_url":"https://api.github.com/users/curl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/curl/subscriptions","organizations_url":"https://api.github.com/users/curl/orgs","repos_url":"https://api.github.com/users/curl/repos","events_url":"https://api.github.com/users/curl/events{/privacy}","received_events_url":"https://api.github.com/users/curl/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/curl/curl","description":"Curl is a tool and libcurl is a library for transferring data with URL syntax, supporting FTP, FTPS, HTTP, HTTPS, GOPHER, TFTP, SCP, SFTP, TELNET, DICT, LDAP, LDAPS, FILE, IMAP, SMTP, POP3, RTSP and RTMP. libcurl offers a myriad of powerful features","fork":false,"url":"https://api.github.com/repos/curl/curl","forks_url":"https://api.github.com/repos/curl/curl/forks","keys_url":"https://api.github.com/repos/curl/curl/keys{/key_id}","collaborators_url":"https://api.github.com/repos/curl/curl/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/curl/curl/teams","hooks_url":"https://api.github.com/repos/curl/curl/hooks","issue_events_url":"https://api.github.com/repos/curl/curl/issues/events{/number}","events_url":"https://api.github.com/repos/curl/curl/events","assignees_url":"https://api.github.com/repos/curl/curl/assignees{/user}","branches_url":"https://api.github.com/repos/curl/curl/branches{/branch}","tags_url":"https://api.github.com/repos/curl/curl/tags","blobs_url":"https://api.github.com/repos/curl/curl/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/curl/curl/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/curl/curl/git/refs{/sha}","trees_url":"https://api.github.com/repos/curl/curl/git/trees{/sha}","statuses_url":"https://api.github.com/repos/curl/curl/statuses/{sha}","languages_url":"https://api.github.com/repos/curl/curl/languages","stargazers_url":"https://api.github.com/repos/curl/curl/stargazers","contributors_url":"https://api.github.com/repos/curl/curl/contributors","subscribers_url":"https://api.github.com/repos/curl/curl/subscribers","subscription_url":"https://api.github.com/repos/curl/curl/subscription","commits_url":"https://api.github.com/repos/curl/curl/commits{/sha}","git_commits_url":"https://api.github.com/repos/curl/curl/git/commits{/sha}","comments_url":"https://api.github.com/repos/curl/curl/comments{/number}","issue_comment_url":"https://api.github.com/repos/curl/curl/issues/comments{/number}","contents_url":"https://api.github.com/repos/curl/curl/contents/{+path}","compare_url":"https://api.github.com/repos/curl/curl/compare/{base}...{head}","merges_url":"https://api.github.com/repos/curl/curl/merges","archive_url":"https://api.github.com/repos/curl/curl/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/curl/curl/downloads","issues_url":"https://api.github.com/repos/curl/curl/issues{/number}","pulls_url":"https://api.github.com/repos/curl/curl/pulls{/number}","milestones_url":"https://api.github.com/repos/curl/curl/milestones{/number}","notifications_url":"https://api.github.com/repos/curl/curl/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/curl/curl/labels{/name}","releases_url":"https://api.github.com/repos/curl/curl/releases{/id}","deployments_url":"https://api.github.com/repos/curl/curl/deployments","created_at":"2010-03-18T22:32:22Z","updated_at":"2016-03-24T14:56:19Z","pushed_at":"2016-03-24T17:13:35Z","git_url":"git://github.com/curl/curl.git","ssh_url":"git@github.com:curl/curl.git","clone_url":"https://github.com/curl/curl.git","svn_url":"https://github.com/curl/curl","homepage":"https://curl.haxx.se/","size":38002,"stargazers_count":2813,"watchers_count":2813,"language":"C","has_issues":true,"has_downloads":false,"has_wiki":true,"has_pages":false,"forks_count":995,"mirror_url":null,"open_issues_count":48,"forks":995,"open_issues":48,"watchers":2813,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/curl/curl/pulls/723"},"html":{"href":"https://github.com/curl/curl/pull/723"},"issue":{"href":"https://api.github.com/repos/curl/curl/issues/723"},"comments":{"href":"https://api.github.com/repos/curl/curl/issues/723/comments"},"review_comments":{"href":"https://api.github.com/repos/curl/curl/pulls/723/comments"},"review_comment":{"href":"https://api.github.com/repos/curl/curl/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/curl/curl/pulls/723/commits"},"statuses":{"href":"https://api.github.com/repos/curl/curl/statuses/8f06d31c256491351cd0d77316eb683263802479"}}}}