summaryrefslogtreecommitdiff
path: root/source3/rpc_client
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2005-10-07 04:53:30 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 11:04:54 -0500
commita23b680a087b3e7cc2c5bfd11b4f8814a089e858 (patch)
tree721b1f91987861df56ea2385c06259f7c6a67b7a /source3/rpc_client
parentc226b7d4beaa9239b8790889aa0a8d3c23eac73c (diff)
downloadsamba-a23b680a087b3e7cc2c5bfd11b4f8814a089e858.tar.gz
samba-a23b680a087b3e7cc2c5bfd11b4f8814a089e858.tar.bz2
samba-a23b680a087b3e7cc2c5bfd11b4f8814a089e858.zip
r10801: Janitor for tpot - remember to keep 3.0 in sync.
Jeremy. (This used to be commit 92fa541f6e92c03a49372ff73f9790afa2c0151c)
Diffstat (limited to 'source3/rpc_client')
-rw-r--r--source3/rpc_client/cli_pipe.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/source3/rpc_client/cli_pipe.c b/source3/rpc_client/cli_pipe.c
index 2e6f42b0e6..3b411272c3 100644
--- a/source3/rpc_client/cli_pipe.c
+++ b/source3/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