diff options
author | Stephen Gallagher <sgallagh@redhat.com> | 2013-08-27 13:36:41 -0400 |
---|---|---|
committer | Jakub Hrozek <jhrozek@redhat.com> | 2013-08-28 11:00:03 +0200 |
commit | dcc6877aa2e2dd63a9dc9c411a9c58feaeb36b9a (patch) | |
tree | fda3c24e3ec4be05c86b6271e297e8fc0f4cd6a1 /src/providers/krb5/krb5_auth.c | |
parent | a524b03792dc8f8dae32bba5a2af8532bc751e86 (diff) | |
download | sssd-dcc6877aa2e2dd63a9dc9c411a9c58feaeb36b9a.tar.gz sssd-dcc6877aa2e2dd63a9dc9c411a9c58feaeb36b9a.tar.xz 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.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/providers/krb5/krb5_auth.c b/src/providers/krb5/krb5_auth.c index 506ca520a..db0aa936f 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; |