diff options
Diffstat (limited to 'source3')
-rw-r--r-- | source3/rpc_client/cli_pipe.c | 4 |
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 |