From e0be03d8d5006f92ed479b84cd30ebfe510fa68a Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Sun, 20 Jul 2008 11:04:31 +0200 Subject: Refactoring: Change calling conventions for cli_rpc_pipe_open_ntlmssp Pass in ndr_syntax_id instead of pipe_idx, return NTSTATUS (This used to be commit a13f0599551609394904b99e4014d580ec65c506) --- source3/utils/net_rpc.c | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'source3/utils/net_rpc.c') diff --git a/source3/utils/net_rpc.c b/source3/utils/net_rpc.c index 783dda1998..1c9776db73 100644 --- a/source3/utils/net_rpc.c +++ b/source3/utils/net_rpc.c @@ -167,12 +167,11 @@ int run_rpc_command(struct net_context *c, } } else { if (conn_flags & NET_FLAGS_SEAL) { - pipe_hnd = cli_rpc_pipe_open_ntlmssp(cli, pipe_idx, - PIPE_AUTH_LEVEL_PRIVACY, - lp_workgroup(), - c->opt_user_name, - c->opt_password, - &nt_status); + nt_status = cli_rpc_pipe_open_ntlmssp( + cli, cli_get_iface(pipe_idx), + PIPE_AUTH_LEVEL_PRIVACY, + lp_workgroup(), c->opt_user_name, + c->opt_password, &pipe_hnd); } else { nt_status = cli_rpc_pipe_open_noauth( cli, cli_get_iface(pipe_idx), -- cgit