r1194: Definition of krb5_free_unparsed_name() if we do't have it.
authorJeremy Allison <jra@samba.org>
Sat, 19 Jun 2004 00:55:29 +0000 (00:55 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 15:51:59 +0000 (10:51 -0500)
Jeremy.
(This used to be commit 82c219ea023dd546fcde29569725865a42e4198e)

source3/libsmb/clikrb5.c

index 9027f192ef7226bd55ca5d8dc8fd6719545416a2..01fcfcc3dd0014a3c634f7c8550338971bf5f7a1 100644 (file)
@@ -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)