summaryrefslogtreecommitdiff
path: root/source3/libsmb
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2001-11-28 23:54:07 +0000
committerAndrew Tridgell <tridge@samba.org>2001-11-28 23:54:07 +0000
commitf6b962fba37a1ac105301d699708e541ce34d3b4 (patch)
tree74ae24de51a3b374e616459874e8cfab9bda99a0 /source3/libsmb
parentbd8e916cb520d89a14a1cd13b2b261253729ac9b (diff)
downloadsamba-f6b962fba37a1ac105301d699708e541ce34d3b4.tar.gz
samba-f6b962fba37a1ac105301d699708e541ce34d3b4.tar.bz2
samba-f6b962fba37a1ac105301d699708e541ce34d3b4.zip
fixed some krb5 ifdefs
(This used to be commit 23ef22f11700bbaa5778a9678a990a2b041fcefe)
Diffstat (limited to 'source3/libsmb')
-rw-r--r--source3/libsmb/cliconnect.c4
-rw-r--r--source3/libsmb/clikrb5.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/source3/libsmb/cliconnect.c b/source3/libsmb/cliconnect.c
index 0fceac70e2..cfbb6d6222 100644
--- a/source3/libsmb/cliconnect.c
+++ b/source3/libsmb/cliconnect.c
@@ -378,7 +378,7 @@ static DATA_BLOB cli_session_setup_blob(struct cli_state *cli, DATA_BLOB blob)
}
-#if HAVE_KRB5
+#ifdef HAVE_KRB5
/****************************************************************************
do a spnego/kerberos encrypted session setup
****************************************************************************/
@@ -543,7 +543,7 @@ static BOOL cli_session_setup_spnego(struct cli_state *cli, char *user,
fstrcpy(cli->user_name, user);
-#if HAVE_KRB5
+#ifdef HAVE_KRB5
if (got_kerberos_mechanism && cli->use_kerberos) {
return cli_session_setup_kerberos(cli, principal, workgroup);
}
diff --git a/source3/libsmb/clikrb5.c b/source3/libsmb/clikrb5.c
index 37b92b8d99..03fb6a5669 100644
--- a/source3/libsmb/clikrb5.c
+++ b/source3/libsmb/clikrb5.c
@@ -21,7 +21,7 @@
#include "includes.h"
-#if HAVE_KRB5
+#ifdef HAVE_KRB5
/*
we can't use krb5_mk_req because w2k wants the service to be in a particular format
*/