summaryrefslogtreecommitdiff
path: root/source3/rpc_client
diff options
context:
space:
mode:
authorSimo Sorce <idra@samba.org>2010-07-28 15:35:02 -0400
committerSimo Sorce <idra@samba.org>2010-07-28 15:35:59 -0400
commitd17abc69f690ccc845a0a1d6d291b6e21ce86b3d (patch)
tree0cadfcf50f7920456462e164d6af6925292c486d /source3/rpc_client
parent44add9952e5375f2858b26a2f676be49b70d839a (diff)
downloadsamba-d17abc69f690ccc845a0a1d6d291b6e21ce86b3d.tar.gz
samba-d17abc69f690ccc845a0a1d6d291b6e21ce86b3d.tar.bz2
samba-d17abc69f690ccc845a0a1d6d291b6e21ce86b3d.zip
s3-dcerpc: Avoid ifdef, it is handled within dcerpc_gssapi.c already
Diffstat (limited to 'source3/rpc_client')
-rw-r--r--source3/rpc_client/cli_pipe.c9
1 files changed, 2 insertions, 7 deletions
diff --git a/source3/rpc_client/cli_pipe.c b/source3/rpc_client/cli_pipe.c
index 8588875506..bbd869e19d 100644
--- a/source3/rpc_client/cli_pipe.c
+++ b/source3/rpc_client/cli_pipe.c
@@ -3344,7 +3344,6 @@ NTSTATUS cli_rpc_pipe_open_krb5(struct cli_state *cli,
const char *password,
struct rpc_pipe_client **presult)
{
-#ifdef HAVE_GSSAPI_H
struct rpc_pipe_client *result;
struct pipe_auth_data *auth;
NTSTATUS status;
@@ -3367,18 +3366,14 @@ NTSTATUS cli_rpc_pipe_open_krb5(struct cli_state *cli,
status = rpc_pipe_bind(result, auth);
if (!NT_STATUS_IS_OK(status)) {
- DEBUG(0, ("cli_rpc_pipe_open_krb5: cli_rpc_pipe_bind failed "
- "with error %s\n", nt_errstr(status)));
+ DEBUG(0, ("cli_rpc_pipe_bind failed with error %s\n",
+ nt_errstr(status)));
TALLOC_FREE(result);
return status;
}
*presult = result;
return NT_STATUS_OK;
-#else
- DEBUG(0,("cli_rpc_pipe_open_krb5: kerberos not found at compile time.\n"));
- return NT_STATUS_NOT_IMPLEMENTED;
-#endif
}
NTSTATUS cli_get_session_key(TALLOC_CTX *mem_ctx,