summaryrefslogtreecommitdiffstats
path: root/src/providers/simple/simple_access_check.c
diff options
context:
space:
mode:
authorLukas Slebodnik <lslebodn@redhat.com>2013-04-06 17:58:53 +0200
committerJakub Hrozek <jhrozek@redhat.com>2013-04-15 11:44:52 +0200
commite495127f6abb40b74e23db9e37ff08247008a543 (patch)
tree763b6470e144542862dfd97ef36ad3a9d35a2217 /src/providers/simple/simple_access_check.c
parentc215e00ef09a3999f476a4fdcd007dadb59bcab9 (diff)
downloadsssd-e495127f6abb40b74e23db9e37ff08247008a543.tar.gz
sssd-e495127f6abb40b74e23db9e37ff08247008a543.tar.xz
sssd-e495127f6abb40b74e23db9e37ff08247008a543.zip
Fix krbcc dir creation issue with MIT krb5 1.11
In krb5-libs >= 1.11, function krb5_cc_resolve verify if credential cache dir exists. If it doesn't exist, than it will be created with process permissions and not user permissions. Function cc_residual_is_used has already checked for non existing directory, but it wasn't considered to be a failure and therefore next call of krb5_init_context will create directory with wrong permissions. Now if directory doesn't exist, it will be handled like there was not ccache attribute in sysdb cache. We also check if "primary" file in ccache directory has right permissions. But we ignore missing "primary" file. https://fedorahosted.org/sssd/ticket/1822
Diffstat (limited to 'src/providers/simple/simple_access_check.c')
0 files changed, 0 insertions, 0 deletions