From df63172ad9b6460dc05bead8629b78b9a44f5b7c Mon Sep 17 00:00:00 2001 From: Günther Deschner Date: Fri, 29 Jun 2007 08:56:35 +0000 Subject: r23646: Generalize our internal keytab handling to support a broader range of default keytabnames (like "ANY:FILE:/etc/krb5.keytab,krb4:/etc/srvtab"). This also fixes keytab support with Heimdal (which supports the WRFILE pragma as well now). Guenther (This used to be commit 7ca002f4cc9ec4139c0c48952ebf05f89b5795ef) --- source3/include/includes.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'source3/include/includes.h') diff --git a/source3/include/includes.h b/source3/include/includes.h index 895cc58cec..8babc30b63 100644 --- a/source3/include/includes.h +++ b/source3/include/includes.h @@ -1206,6 +1206,10 @@ krb5_enctype smb_get_enctype_from_kt_entry(const krb5_keytab_entry *kt_entry); krb5_error_code smb_krb5_enctype_to_string(krb5_context context, krb5_enctype enctype, char **etype_s); +krb5_error_code smb_krb5_open_keytab(krb5_context context, + const char *keytab_name, + BOOL write_access, + krb5_keytab *keytab); #endif /* HAVE_KRB5 */ -- cgit