summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2004-06-19 00:55:29 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 10:51:59 -0500
commit59d179452780dae847281a85d52d8e6e20575747 (patch)
tree995cc2d0b8f55bda95ea224683637a4ef07e255e /source3
parentf38c27b4e092f5846bf1b547405df68e4bf3391d (diff)
downloadsamba-59d179452780dae847281a85d52d8e6e20575747.tar.gz
samba-59d179452780dae847281a85d52d8e6e20575747.tar.bz2
samba-59d179452780dae847281a85d52d8e6e20575747.zip
r1194: Definition of krb5_free_unparsed_name() if we do't have it.
Jeremy. (This used to be commit 82c219ea023dd546fcde29569725865a42e4198e)
Diffstat (limited to 'source3')
-rw-r--r--source3/libsmb/clikrb5.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/source3/libsmb/clikrb5.c b/source3/libsmb/clikrb5.c
index 9027f192ef..01fcfcc3dd 100644
--- a/source3/libsmb/clikrb5.c
+++ b/source3/libsmb/clikrb5.c
@@ -234,6 +234,13 @@ krb5_error_code get_kerberos_allowed_etypes(krb5_context context,
}
#endif
+#if !defined(HAVE_KRB5_FREE_UNPARSED_NAME)
+ void krb5_free_unparsed_name(krb5_context context, char *val)
+{
+ SAFE_FREE(val);
+}
+#endif
+
static BOOL ads_cleanup_expired_creds(krb5_context context,
krb5_ccache ccache,
krb5_creds *credsp)