svn commit: samba r15216 - in branches/SAMBA_3_0/source: include libsmb

jra at samba.org jra at samba.org
Mon Apr 24 16:29:57 GMT 2006


Author: jra
Date: 2006-04-24 16:29:55 +0000 (Mon, 24 Apr 2006)
New Revision: 15216

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=15216

Log:
Fix the build for machines without krb5. Oops, sorry.
Jeremy.

Modified:
   branches/SAMBA_3_0/source/include/includes.h
   branches/SAMBA_3_0/source/libsmb/clikrb5.c


Changeset:
Modified: branches/SAMBA_3_0/source/include/includes.h
===================================================================
--- branches/SAMBA_3_0/source/include/includes.h	2006-04-24 16:29:53 UTC (rev 15215)
+++ branches/SAMBA_3_0/source/include/includes.h	2006-04-24 16:29:55 UTC (rev 15216)
@@ -1458,6 +1458,14 @@
 
 #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

Modified: branches/SAMBA_3_0/source/libsmb/clikrb5.c
===================================================================
--- branches/SAMBA_3_0/source/libsmb/clikrb5.c	2006-04-24 16:29:53 UTC (rev 15215)
+++ branches/SAMBA_3_0/source/libsmb/clikrb5.c	2006-04-24 16:29:55 UTC (rev 15216)
@@ -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 @@
  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)
 {



More information about the samba-cvs mailing list