diff options
author | Günther Deschner <gd@samba.org> | 2007-06-29 08:56:35 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 12:23:40 -0500 |
commit | df63172ad9b6460dc05bead8629b78b9a44f5b7c (patch) | |
tree | 5a2a7fc72a3f450dc7f6d3174ef74be36bad68cf /source3/include | |
parent | 1eb031c8d657d3fc5e270acf3326e2cc6a2dc7a6 (diff) | |
download | samba-df63172ad9b6460dc05bead8629b78b9a44f5b7c.tar.gz samba-df63172ad9b6460dc05bead8629b78b9a44f5b7c.tar.bz2 samba-df63172ad9b6460dc05bead8629b78b9a44f5b7c.zip |
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)
Diffstat (limited to 'source3/include')
-rw-r--r-- | source3/include/includes.h | 4 |
1 files changed, 4 insertions, 0 deletions
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 */ |