diff options
author | Jeremy Allison <jra@samba.org> | 2004-06-19 00:54:54 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 10:51:59 -0500 |
commit | f38c27b4e092f5846bf1b547405df68e4bf3391d (patch) | |
tree | 9abbacfb4e5a3ea8ac72f7e01947a2235c43003a /source3/include | |
parent | d703c350cbbd04d7cea79575dc1bfec284cb1cb5 (diff) | |
download | samba-f38c27b4e092f5846bf1b547405df68e4bf3391d.tar.gz samba-f38c27b4e092f5846bf1b547405df68e4bf3391d.tar.bz2 samba-f38c27b4e092f5846bf1b547405df68e4bf3391d.zip |
r1193: Ensure we check for and use krb5_free_unparsed_name().
Jeremy.
(This used to be commit af5a08f5ad895cb33c9134771da19ba5e709e742)
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 9efdd2cc3a..ea22475da2 100644 --- a/source3/include/includes.h +++ b/source3/include/includes.h @@ -1294,6 +1294,10 @@ krb5_error_code krb5_set_default_tgs_ktypes(krb5_context ctx, const krb5_enctype krb5_error_code krb5_auth_con_setuseruserkey(krb5_context context, krb5_auth_context auth_context, krb5_keyblock *keyblock); #endif +#ifndef (HAVE_KRB5_FREE_UNPARSED_NAME) +void krb5_free_unparsed_name(krb5_context ctx, char *val) +#endif + /* Samba wrapper function for krb5 functionality. */ void setup_kaddr( krb5_address *pkaddr, struct sockaddr *paddr); int create_kerberos_key_from_string(krb5_context context, krb5_principal host_princ, krb5_data *password, krb5_keyblock *key, krb5_enctype enctype); |