Author: jra Date: 2006-04-24 16:29:53 +0000 (Mon, 24 Apr 2006) New Revision: 15215
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=15215 Log: Fix the build for machines without krb5. Oops, sorry. Jeremy. Modified: trunk/source/include/includes.h trunk/source/libsmb/clikrb5.c Changeset: Modified: trunk/source/include/includes.h =================================================================== --- trunk/source/include/includes.h 2006-04-24 16:16:43 UTC (rev 15214) +++ trunk/source/include/includes.h 2006-04-24 16:29:53 UTC (rev 15215) @@ -1464,6 +1464,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: trunk/source/libsmb/clikrb5.c =================================================================== --- trunk/source/libsmb/clikrb5.c 2006-04-24 16:16:43 UTC (rev 15214) +++ trunk/source/libsmb/clikrb5.c 2006-04-24 16:29:53 UTC (rev 15215) @@ -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) {