r15216: Fix the build for machines without krb5. Oops, sorry.
authorJeremy Allison <jra@samba.org>
Mon, 24 Apr 2006 16:29:55 +0000 (16:29 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 16:16:29 +0000 (11:16 -0500)
Jeremy.
(This used to be commit bea87e2df45c67cc75d91bd3ed1acc4c64a1c8ea)

source3/include/includes.h
source3/libsmb/clikrb5.c

index a5f261282ce155a3065916a02b53f2ab22f6e089..944d1b43c026444fc62de1090230128a124b6129 100644 (file)
@@ -1458,6 +1458,14 @@ time_t timegm(struct tm *tm);
 
 #if defined(HAVE_KRB5)
 
+krb5_error_code smb_krb5_parse_name(krb5_context context,
+                               const char *name, /* in unix charset */
+                                krb5_principal *principal);
+
+krb5_error_code smb_krb5_unparse_name(krb5_context context,
+                               krb5_const_principal principal,
+                               char **unix_name);
+
 #ifndef HAVE_KRB5_SET_REAL_TIME
 krb5_error_code krb5_set_real_time(krb5_context context, int32_t seconds, int32_t microseconds);
 #endif
index 1f43b91e3823d14c8c26090949ef00d751778f94..d3da25760b8c4f48fba9a111f06aa2159e09ccfd 100644 (file)
@@ -47,7 +47,7 @@
  krb5_parse_name that takes a UNIX charset.
 **************************************************************/
 
-krb5_error_code smb_krb5_parse_name(krb5_context context,
+ krb5_error_code smb_krb5_parse_name(krb5_context context,
                                const char *name, /* in unix charset */
                                krb5_principal *principal)
 {
@@ -90,7 +90,7 @@ static krb5_error_code smb_krb5_parse_name_norealm_conv(krb5_context context,
  be freed with normal free() call.
 **************************************************************/
 
-krb5_error_code smb_krb5_unparse_name(krb5_context context,
+ krb5_error_code smb_krb5_unparse_name(krb5_context context,
                                        krb5_const_principal principal,
                                        char **unix_name)
 {