summaryrefslogtreecommitdiff
path: root/source/libsmb/clikrb5.c
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
commit82c219ea023dd546fcde29569725865a42e4198e (patch)
tree389d02d8675c8e06a7a30ad6d5ba79fe56bcc71e /source/libsmb/clikrb5.c
parentaf5a08f5ad895cb33c9134771da19ba5e709e742 (diff)
downloadsamba-82c219ea023dd546fcde29569725865a42e4198e.tar.gz
r1194: Definition of krb5_free_unparsed_name() if we do't have it.
Jeremy.
Diffstat (limited to 'source/libsmb/clikrb5.c')
-rw-r--r--source/libsmb/clikrb5.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/source/libsmb/clikrb5.c b/source/libsmb/clikrb5.c
index 9027f192ef7..01fcfcc3dd0 100644
--- a/source/libsmb/clikrb5.c
+++ b/source/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)