summaryrefslogtreecommitdiffstats
path: root/doc/admin/https.rst
diff options
context:
space:
mode:
authorNicolas Williams <nico@cryptonector.com>2014-10-29 19:42:49 -0500
committerGreg Hudson <ghudson@mit.edu>2014-12-15 17:33:46 -0500
commit98b55e86d7ec8b0a3b9b9f9b415ffdf78f4fd2e8 (patch)
treebada49a0b1714094100b7390c89e1b233302bf50 /doc/admin/https.rst
parent0008014a748310e38b3e4d69e3227af935e86cf7 (diff)
downloadkrb5-98b55e86d7ec8b0a3b9b9f9b415ffdf78f4fd2e8.tar.gz
krb5-98b55e86d7ec8b0a3b9b9f9b415ffdf78f4fd2e8.tar.xz
krb5-98b55e86d7ec8b0a3b9b9f9b415ffdf78f4fd2e8.zip
Include file ccache name in error messages
When a FILE ccache method returns an error, append the filename to the standard message for the code. Remove code to set extended messages in helper functions as they would just be overwritten. Also change the interpretation of errno values. Treat ENAMETOOLONG as KRB5_FCC_NOFILE instead of KRB5_FCC_INTERNAL, since it has an external cause and a name that long can't be opened by normal means. Treat EROFS as KRB5_FCC_PERM. Treat ENOTDIR and ELOOP as KRB5_FCC_NOFILE instead of KRB5_FCC_PERM as both errors imply that the full pathname doesn't exist. Treat EBUSY and ETXTBSY as KRB5_CC_IO instead of KRB5_FCC_PERM as they indicate a conflict rather than a permission issue. [ghudson@mit.edu: renamed set_error to set_errmsg_filename; removed now-inoperative code to set extended messages in helper functions; trimmed changes to interpret_errno; clarified and shortened commit message] ticket: 8052 (new)
Diffstat (limited to 'doc/admin/https.rst')
0 files changed, 0 insertions, 0 deletions