diff options
author | Andrew Bartlett <abartlet@samba.org> | 2012-01-02 15:21:05 +1100 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2012-01-11 09:09:43 +0100 |
commit | 49bafcfa48f2d440101c0634d934528cbee69bf1 (patch) | |
tree | 275af36879d8b53a07bd832abcc664343187dcfe /source3/rpc_client | |
parent | 50a939ad8580c24fc42be50cda531874bfd66efd (diff) | |
download | samba-49bafcfa48f2d440101c0634d934528cbee69bf1.tar.gz samba-49bafcfa48f2d440101c0634d934528cbee69bf1.tar.bz2 samba-49bafcfa48f2d440101c0634d934528cbee69bf1.zip |
s3-librpc Supply target service and server to spnego_generic_init_client()
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Diffstat (limited to 'source3/rpc_client')
-rw-r--r-- | source3/rpc_client/cli_pipe.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source3/rpc_client/cli_pipe.c b/source3/rpc_client/cli_pipe.c index 49053c980e..ca8655cab1 100644 --- a/source3/rpc_client/cli_pipe.c +++ b/source3/rpc_client/cli_pipe.c @@ -3143,6 +3143,8 @@ NTSTATUS cli_rpc_pipe_open_spnego_ntlmssp(struct cli_state *cli, struct pipe_auth_data *auth; struct spnego_context *spnego_ctx; NTSTATUS status; + const char *server = NULL; + const char *target_service = "cifs"; /* TODO: Determine target service from the bindings or interface table */ status = cli_rpc_pipe_open(cli, transport, interface, &result); if (!NT_STATUS_IS_OK(status)) { @@ -3182,6 +3184,7 @@ NTSTATUS cli_rpc_pipe_open_spnego_ntlmssp(struct cli_state *cli, (auth->auth_level == DCERPC_AUTH_LEVEL_PRIVACY), true, + server, target_service, domain, username, password, &spnego_ctx); if (!NT_STATUS_IS_OK(status)) { |