summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2006-04-24 16:29:55 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 11:16:29 -0500
commitba52fd71dc6b4dcf42a0c2de5b2f1e1e316b1da4 (patch)
treec35c202fc064b529f2195bf8485174c22fb0463b /source3
parentb68b05854ff5a7e75953462eba74f97753428ef1 (diff)
downloadsamba-ba52fd71dc6b4dcf42a0c2de5b2f1e1e316b1da4.tar.gz
samba-ba52fd71dc6b4dcf42a0c2de5b2f1e1e316b1da4.tar.bz2
samba-ba52fd71dc6b4dcf42a0c2de5b2f1e1e316b1da4.zip
r15216: Fix the build for machines without krb5. Oops, sorry.
Jeremy. (This used to be commit bea87e2df45c67cc75d91bd3ed1acc4c64a1c8ea)
Diffstat (limited to 'source3')
-rw-r--r--source3/include/includes.h8
-rw-r--r--source3/libsmb/clikrb5.c4
2 files changed, 10 insertions, 2 deletions
diff --git a/source3/include/includes.h b/source3/include/includes.h
index a5f261282c..944d1b43c0 100644
--- a/source3/include/includes.h
+++ b/source3/include/includes.h
@@ -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
diff --git a/source3/libsmb/clikrb5.c b/source3/libsmb/clikrb5.c
index 1f43b91e38..d3da25760b 100644
--- a/source3/libsmb/clikrb5.c
+++ b/source3/libsmb/clikrb5.c
@@ -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)
{