diff options
author | Ondrej Kos <okos@redhat.com> | 2012-10-02 18:56:39 +0200 |
---|---|---|
committer | Jakub Hrozek <jhrozek@redhat.com> | 2012-10-04 19:43:23 +0200 |
commit | 8fe574521b7f8b14e17aea1d9afb471b80761b83 (patch) | |
tree | 4ae0aa549e9e5c43e2c6862a0ec72a740d1aca87 /src/providers/krb5/krb5_utils.h | |
parent | e7dd2a5102ba6cfd28be6eccdd62768e9758d9f4 (diff) | |
download | sssd-8fe574521b7f8b14e17aea1d9afb471b80761b83.tar.gz sssd-8fe574521b7f8b14e17aea1d9afb471b80761b83.tar.xz sssd-8fe574521b7f8b14e17aea1d9afb471b80761b83.zip |
Log possibly non-randomizable ccache file template
fixes https://fedorahosted.org/sssd/ticket/1533
ccache file template is now checked for appended XXXXXX for use with
mkstemp. When those characters are not present, warning is written to log.
Diffstat (limited to 'src/providers/krb5/krb5_utils.h')
-rw-r--r-- | src/providers/krb5/krb5_utils.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/providers/krb5/krb5_utils.h b/src/providers/krb5/krb5_utils.h index d8d96d258..00dfc8515 100644 --- a/src/providers/krb5/krb5_utils.h +++ b/src/providers/krb5/krb5_utils.h @@ -37,7 +37,8 @@ typedef errno_t (*cc_be_create_fn)(const char *location, pcre *illegal_re, uid_t uid, gid_t gid, bool private_path); typedef errno_t (*cc_be_check_existing)(const char *location, uid_t uid, const char *realm, const char *princ, - bool *active, bool *valid); + const char *cc_template, bool *active, + bool *valid); typedef const char * (*cc_be_ccache_for_princ)(TALLOC_CTX *mem_ctx, const char *location, const char *princ); |