mirror of
https://github.com/samba-team/samba.git
synced 2024-12-22 13:34:15 +03:00
CVE-2020-25719 mit-samba: Make ks_get_principal() internally public
BUG: https://bugzilla.samba.org/show_bug.cgi?id=14561 Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
This commit is contained in:
parent
deccd0dc5e
commit
d0fb22ee85
@ -41,6 +41,11 @@
|
||||
|
||||
struct mit_samba_context *ks_get_context(krb5_context kcontext);
|
||||
|
||||
krb5_error_code ks_get_principal(krb5_context context,
|
||||
krb5_const_principal principal,
|
||||
unsigned int kflags,
|
||||
krb5_db_entry **kentry);
|
||||
|
||||
bool ks_data_eq_string(krb5_data d, const char *s);
|
||||
|
||||
krb5_data ks_make_data(void *data, unsigned int len);
|
||||
|
@ -36,7 +36,7 @@
|
||||
#define ADMIN_LIFETIME 60*60*3 /* 3 hours */
|
||||
#define CHANGEPW_LIFETIME 60*5 /* 5 minutes */
|
||||
|
||||
static krb5_error_code ks_get_principal(krb5_context context,
|
||||
krb5_error_code ks_get_principal(krb5_context context,
|
||||
krb5_const_principal principal,
|
||||
unsigned int kflags,
|
||||
krb5_db_entry **kentry)
|
||||
|
Loading…
Reference in New Issue
Block a user