summaryrefslogtreecommitdiff
path: root/src/providers/krb5/krb5_auth.c
diff options
context:
space:
mode:
authorStephen Gallagher <sgallagh@redhat.com>2013-08-27 13:36:41 -0400
committerJakub Hrozek <jhrozek@redhat.com>2013-08-28 11:00:03 +0200
commitdcc6877aa2e2dd63a9dc9c411a9c58feaeb36b9a (patch)
treefda3c24e3ec4be05c86b6271e297e8fc0f4cd6a1 /src/providers/krb5/krb5_auth.c
parenta524b03792dc8f8dae32bba5a2af8532bc751e86 (diff)
downloadsssd-dcc6877aa2e2dd63a9dc9c411a9c58feaeb36b9a.tar.gz
sssd-dcc6877aa2e2dd63a9dc9c411a9c58feaeb36b9a.tar.bz2
sssd-dcc6877aa2e2dd63a9dc9c411a9c58feaeb36b9a.zip
krb5: Fetch ccname template from krb5.conf
In order to use the same defaults in all system daemons that needs to know how to generate or search for ccaches we introduce ode here to take advantage of the new option called default_ccache_name provided by libkrb5. If set this variable we establish the same default for all programs that surce it out of krb5.conf therefore providing a consistent experience across the system. Related: https://fedorahosted.org/sssd/ticket/2036
Diffstat (limited to 'src/providers/krb5/krb5_auth.c')
-rw-r--r--src/providers/krb5/krb5_auth.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/providers/krb5/krb5_auth.c b/src/providers/krb5/krb5_auth.c
index 506ca520..db0aa936 100644
--- a/src/providers/krb5/krb5_auth.c
+++ b/src/providers/krb5/krb5_auth.c
@@ -315,7 +315,7 @@ static void krb5_auth_cache_creds(struct krb5_ctx *krb5_ctx,
*dp_err = DP_ERR_OFFLINE;
}
-static errno_t krb5_auth_prepare_ccache_file(struct krb5child_req *kr,
+static errno_t krb5_auth_prepare_ccache_name(struct krb5child_req *kr,
struct be_ctx *be_ctx,
int *pam_status, int *dp_err)
{
@@ -783,7 +783,7 @@ static void krb5_auth_resolve_done(struct tevent_req *subreq)
}
}
- ret = krb5_auth_prepare_ccache_file(kr, state->be_ctx,
+ ret = krb5_auth_prepare_ccache_name(kr, state->be_ctx,
&state->pam_status, &state->dp_err);
if (ret) {
goto done;