diff options
author | Jakub Hrozek <jhrozek@redhat.com> | 2014-10-18 22:03:01 +0200 |
---|---|---|
committer | Jakub Hrozek <jhrozek@redhat.com> | 2014-11-18 20:33:36 +0100 |
commit | 7c5cd2e7711621af9163a41393e88896a91ac33b (patch) | |
tree | 9a1eacfb31cecf8893c51a938e312330a423c9e6 /src/providers/krb5/krb5_ccache.h | |
parent | 45aeb924ec3ac448bb8d174a5cc061ed98b147c7 (diff) | |
download | sssd-7c5cd2e7711621af9163a41393e88896a91ac33b.tar.gz sssd-7c5cd2e7711621af9163a41393e88896a91ac33b.tar.xz sssd-7c5cd2e7711621af9163a41393e88896a91ac33b.zip |
KRB5: Move checking for illegal RE to krb5_utils.c
Otherwise we would have to link krb5_child with pcre and transfer the
regex, which would be cumbersome. Check for illegal patterns when
expanding the template instead.
Related:
https://fedorahosted.org/sssd/ticket/2370
Reviewed-by: Sumit Bose <sbose@redhat.com>
Reviewed-by: Lukáš Slebodník <lslebodn@redhat.com>
Diffstat (limited to 'src/providers/krb5/krb5_ccache.h')
-rw-r--r-- | src/providers/krb5/krb5_ccache.h | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/src/providers/krb5/krb5_ccache.h b/src/providers/krb5/krb5_ccache.h index 9f0b3ac84..e39f96cad 100644 --- a/src/providers/krb5/krb5_ccache.h +++ b/src/providers/krb5/krb5_ccache.h @@ -35,12 +35,7 @@ struct tgt_times { time_t renew_till; }; -errno_t create_ccache_dir(const char *ccdirname, - pcre *illegal_re, - uid_t uid, gid_t gid); - -errno_t sss_krb5_precreate_ccache(const char *ccname, pcre *illegal_re, - uid_t uid, gid_t gid); +errno_t sss_krb5_precreate_ccache(const char *ccname, uid_t uid, gid_t gid); errno_t sss_krb5_cc_destroy(const char *ccname, uid_t uid, gid_t gid); |