1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-27 14:04:05 +03:00

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

Jeremy.
This commit is contained in:
Jeremy Allison 2006-04-24 16:29:55 +00:00 committed by Gerald (Jerry) Carter
parent 37ab42afbc
commit bea87e2df4
2 changed files with 10 additions and 2 deletions

View 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

View 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)
{