diff options
author | Andrew Bartlett <abartlet@samba.org> | 2005-03-28 06:40:18 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:11:18 -0500 |
commit | e6aeeb5269a4953e48dd023e03aeba0cf47f6698 (patch) | |
tree | 792c8c8f09690ce34c62f49b2d03737573fd3784 /source4/libcli/auth/kerberos.h | |
parent | 8c270fcedb1629526f1f40fb42e0ee329c0f2178 (diff) | |
download | samba-e6aeeb5269a4953e48dd023e03aeba0cf47f6698.tar.gz samba-e6aeeb5269a4953e48dd023e03aeba0cf47f6698.tar.bz2 samba-e6aeeb5269a4953e48dd023e03aeba0cf47f6698.zip |
r6094: Work on the Kerberos code recently merged from Samba 3.0. This fixes
up issues I introduced during the merge, that caused a segfault.
I've still not got the keytab code to work for me (using Samba3 to
generate the keytab) so this is still not fully tested, but it's
better than it was.
To add debugging, I now use the krb5_get_error_message() function from
Heimdal when present, to return the custom error string, which
contains far, far more information than the simple error code does.
(This last point may well be worth merging back into 3.0)
Andrew Bartlett
(This used to be commit ed5755d9d1e48df7ae77a9410d30e10cb8b0cbd7)
Diffstat (limited to 'source4/libcli/auth/kerberos.h')
-rw-r--r-- | source4/libcli/auth/kerberos.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source4/libcli/auth/kerberos.h b/source4/libcli/auth/kerberos.h index c9b2eae55c..4daf0ea07a 100644 --- a/source4/libcli/auth/kerberos.h +++ b/source4/libcli/auth/kerberos.h @@ -94,5 +94,6 @@ void kerberos_set_creds_enctype(krb5_creds *pcreds, int enctype); BOOL kerberos_compatible_enctypes(krb5_context context, krb5_enctype enctype1, krb5_enctype enctype2); void kerberos_free_data_contents(krb5_context context, krb5_data *pdata); krb5_error_code smb_krb5_kt_free_entry(krb5_context context, krb5_keytab_entry *kt_entry); +char *smb_get_krb5_error_message(krb5_context context, krb5_error_code code, TALLOC_CTX *mem_ctx); #endif /* HAVE_KRB5 */ |