From 40715e1251dc27a677c1b0b894406b6d86e391f0 Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Tue, 10 Jan 2012 21:53:42 +1100 Subject: s3-librpc: pass struct ndr_interface_table down to cli_pipe_open_generic/spnego() This allows the target service (as determined from the IDL) to be passed to GSSAPI (rather than the current, incorrect, "cifs"). Andrew Bartlett Signed-off-by: Stefan Metzmacher --- source3/rpcclient/rpcclient.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source3/rpcclient') diff --git a/source3/rpcclient/rpcclient.c b/source3/rpcclient/rpcclient.c index 0b2789c4ae..ff4354f818 100644 --- a/source3/rpcclient/rpcclient.c +++ b/source3/rpcclient/rpcclient.c @@ -703,7 +703,7 @@ static NTSTATUS do_cmd(struct cli_state *cli, break; } ntresult = cli_rpc_pipe_open_spnego( - cli, &cmd_entry->table->syntax_id, + cli, cmd_entry->table, default_transport, oid, pipe_default_auth_level, @@ -717,7 +717,7 @@ static NTSTATUS do_cmd(struct cli_state *cli, case DCERPC_AUTH_TYPE_NTLMSSP: case DCERPC_AUTH_TYPE_KRB5: ntresult = cli_rpc_pipe_open_generic_auth( - cli, &cmd_entry->table->syntax_id, + cli, cmd_entry->table, default_transport, pipe_default_auth_type, pipe_default_auth_level, -- cgit