{"action":"created","comment":{"url":"https://api.github.com/repos/curl/curl/pulls/comments/57525155","id":57525155,"diff_hunk":"@@ -0,0 +1,56 @@\n+.\\\" **************************************************************************\n+.\\\" *                                  _   _ ____  _\n+.\\\" *  Project                     ___| | | |  _ \\| |\n+.\\\" *                             / __| | | | |_) | |\n+.\\\" *                            | (__| |_| |  _ <| |___\n+.\\\" *                             \\___|\\___/|_| \\_\\_____|\n+.\\\" *\n+.\\\" * Copyright (C) 2016, Daniel Stenberg, <daniel@haxx.se>, et al.\n+.\\\" *\n+.\\\" * This software is licensed as described in the file COPYING, which\n+.\\\" * you should have received as part of this distribution. The terms\n+.\\\" * are also available at http://curl.haxx.se/docs/copyright.html.\n+.\\\" *\n+.\\\" * You may opt to use, copy, modify, merge, publish, distribute and/or sell\n+.\\\" * copies of the Software, and permit persons to whom the Software is\n+.\\\" * furnished to do so, under the terms of the COPYING file.\n+.\\\" *\n+.\\\" * This software is distributed on an \"AS IS\" basis, WITHOUT WARRANTY OF ANY\n+.\\\" * KIND, either express or implied.\n+.\\\" *\n+.\\\" **************************************************************************\n+.\\\"\n+.TH CURLOPT_KRB5CCNAME 3 \"26 March 2016\" \"libcurl 7.49.0\" \"curl_easy_setopt options\"\n+.SH NAME\n+CURLOPT_KRB5CCNAME \\- set Kerberos credentials cache to use in GSSAPI\n+.SH SYNOPSIS\n+#include <curl/curl.h>\n+\n+CURLcode curl_easy_setopt(CURL *handle, CURLOPT_KRB5CCNAME, char *ccache);\n+.SH DESCRIPTION\n+Pass a pointer to a NULL terminated string as parameter. The string represents\n+the KRB5 credential cache to use instead of the default crednetial cache (file path\n+or other types of cache, similar to KRB5CCNAME environment variable).\n+\n+.SH DEFAULT\n+NULL\n+.SH PROTOCOLS\n+All protocols using KRB5 mechanism in GSSAPI: HTTP, FTP, etc.\n+.SH EXAMPLE\n+.nf\n+kinit -c /tmp/uid_cc user@REALM\n+klist -c /tmp/uid_cc\n+\n+CURL *hnd = curl_easy_init();\n+curl_easy_setopt(hnd, CURLOPT_URL, \"http://host/path/\");\n+curl_easy_setopt(hnd, CURLOPT_USERPWD, \":\");\n+curl_easy_setopt(hnd, CURLOPT_HTTPAUTH, CURLAUTH_NEGOTIATE);\n+curl_easy_setopt(hnd, CURLOPT_KRB5CCNAME, \"/tmp/uid_cc\");\n+curl_easy_perform(hnd);\n+.fi\n+.SH AVAILABILITY\n+If built with MIT Kerebros library which support credential-store extention.","path":"docs/libcurl/opts/CURLOPT_KRB5CCNAME.3","position":52,"original_position":52,"commit_id":"e27628e9e79290da41e21d884513cef3cfd903dd","original_commit_id":"e27628e9e79290da41e21d884513cef3cfd903dd","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":"Another typo","created_at":"2016-03-27T08:22:15Z","updated_at":"2016-03-27T08:22:15Z","html_url":"https://github.com/curl/curl/pull/723#discussion_r57525155","pull_request_url":"https://api.github.com/repos/curl/curl/pulls/723","_links":{"self":{"href":"https://api.github.com/repos/curl/curl/pulls/comments/57525155"},"html":{"href":"https://github.com/curl/curl/pull/723#discussion_r57525155"},"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":"GSSAPI - Add option to specify Kerberos credential-cache and client keytab","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":"Updated.\r\nThis allows server-side applications to run transfers on behalf of different users, using different Kerberos credential-cache and/or a client keytab (files or other types) for authentication via GSSAPI interface.\r\n\r\nThe new option names are CURLOPT_KRB5CCNAME and URLOPT_KRB5_CLIENT_KTNAME similar to their corresponding environment variables.\r\n\r\nExample usage:\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_KRB5CCNAME, \"/tmp/uid_cc\");\r\n  curl_easy_setopt(hnd, CURLOPT_KRB5_CLIENT_KTNAME, \"/home/krb5.keytab\");\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.","created_at":"2016-03-23T00:47:01Z","updated_at":"2016-03-27T08:22:15Z","closed_at":null,"merged_at":null,"merge_commit_sha":"2531fba442bf414d45a94dabef4170b0cf822968","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/e27628e9e79290da41e21d884513cef3cfd903dd","head":{"label":"frenche:krb_ccache","ref":"krb_ccache","sha":"e27628e9e79290da41e21d884513cef3cfd903dd","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-26T20:59:42Z","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":34905,"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":"3d144ab99bed3ad9af1179c50f1df6334350aa98","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-27T06:59:33Z","pushed_at":"2016-03-26T22:36:36Z","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":38152,"stargazers_count":2822,"watchers_count":2822,"language":"C","has_issues":true,"has_downloads":false,"has_wiki":true,"has_pages":false,"forks_count":998,"mirror_url":null,"open_issues_count":50,"forks":998,"open_issues":50,"watchers":2822,"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/e27628e9e79290da41e21d884513cef3cfd903dd"}}}}