summaryrefslogtreecommitdiffstats
path: root/source/rpc_client
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2005-10-07 04:53:30 +0000
committerJeremy Allison <jra@samba.org>2005-10-07 04:53:30 +0000
commite8138f55e4fb53077fa80d22bcd395f7142cd220 (patch)
tree43a9db8055d716eb1ce3250cff2196a3b9b657a4 /source/rpc_client
parente546aa9c919fe95ddea41e2bb0d660ac42fd04df (diff)
downloadsamba-e8138f55e4fb53077fa80d22bcd395f7142cd220.tar.gz
samba-e8138f55e4fb53077fa80d22bcd395f7142cd220.tar.xz
samba-e8138f55e4fb53077fa80d22bcd395f7142cd220.zip
r10801: Janitor for tpot - remember to keep 3.0 in sync.
Jeremy.
Diffstat (limited to 'source/rpc_client')
-rw-r--r--source/rpc_client/cli_pipe.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/source/rpc_client/cli_pipe.c b/source/rpc_client/cli_pipe.c
index 2e6f42b0e69..3b411272c3a 100644
--- a/source/rpc_client/cli_pipe.c
+++ b/source/rpc_client/cli_pipe.c
@@ -2636,6 +2636,8 @@ struct rpc_pipe_client *cli_rpc_pipe_open_schannel(struct cli_state *cli,
return result;
}
+#ifdef HAVE_KRB5
+
/****************************************************************************
Free function for the kerberos spcific data.
****************************************************************************/
@@ -2645,6 +2647,8 @@ static void kerberos_auth_struct_free(struct cli_pipe_auth_data *a)
data_blob_free(&a->a_u.kerberos_auth->session_key);
}
+#endif
+
/****************************************************************************
Open a named pipe to an SMB server and bind using krb5 (bind type 16).
The idea is this can be called with service_princ, username and password all