diff options
author | Lukas Hejtmanek <xhejtman@ics.muni.cz> | 2008-07-15 10:02:49 -0400 |
---|---|---|
committer | Steve Dickson <steved@redhat.com> | 2008-07-15 10:02:49 -0400 |
commit | b13f13b0f2ebdadc47eef8bf3fd4eb076e144fda (patch) | |
tree | 8f6f81f87f95d6d14ccd24b7b5078c0642c0211d /utils/gssd/krb5_util.h | |
parent | 710765a87d599d95de51b79202ba3d82fd03ed95 (diff) | |
download | nfs-utils-b13f13b0f2ebdadc47eef8bf3fd4eb076e144fda.tar.gz nfs-utils-b13f13b0f2ebdadc47eef8bf3fd4eb076e144fda.tar.xz nfs-utils-b13f13b0f2ebdadc47eef8bf3fd4eb076e144fda.zip |
gssd_setup_krb5_user_gss_ccache must return an error if no usable cache is
found. Trying to use invalid default cache and continue is not good idea at all.
Signed-off-by: Lukas Hejtmanek <xhejtman@ics.muni.cz>
Signed-off-by: Kevin Coffman <kwc@citi.umich.edu>
Signed-off-by: Steve Dickson <steved@redhat.com>
Diffstat (limited to 'utils/gssd/krb5_util.h')
-rw-r--r-- | utils/gssd/krb5_util.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/gssd/krb5_util.h b/utils/gssd/krb5_util.h index 431fdaf..addae1c 100644 --- a/utils/gssd/krb5_util.h +++ b/utils/gssd/krb5_util.h @@ -17,7 +17,7 @@ struct gssd_k5_kt_princ { }; -void gssd_setup_krb5_user_gss_ccache(uid_t uid, char *servername, +int gssd_setup_krb5_user_gss_ccache(uid_t uid, char *servername, char *dirname); int gssd_get_krb5_machine_cred_list(char ***list); void gssd_free_krb5_machine_cred_list(char **list); |