From 61a3d370b98ca4b75cd61e22f0d6b0f3fb7561b3 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Sat, 15 Jan 2005 11:58:52 +0000 Subject: r4758: - added async support to the session request code - added async support to the negprot client code - removed two unused parameters from smbcli_full_connection() code - converted smbclient to use smbcli_full_connection() rather than reinventing everything itself (This used to be commit 71cbe2873473e039b4511511302cb63f1c50bce8) --- source4/librpc/rpc/dcerpc_util.c | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) (limited to 'source4/librpc/rpc') diff --git a/source4/librpc/rpc/dcerpc_util.c b/source4/librpc/rpc/dcerpc_util.c index b815f5317d..8b974df0fd 100644 --- a/source4/librpc/rpc/dcerpc_util.c +++ b/source4/librpc/rpc/dcerpc_util.c @@ -827,7 +827,6 @@ static NTSTATUS dcerpc_pipe_connect_ncacn_np(struct dcerpc_pipe **pp, { struct dcerpc_pipe *p; NTSTATUS status; - BOOL retry; struct smbcli_state *cli; const char *pipe_name = NULL; TALLOC_CTX *tmp_ctx; @@ -866,15 +865,15 @@ static NTSTATUS dcerpc_pipe_connect_ncacn_np(struct dcerpc_pipe **pp, if (!username || !username[0] || (binding->flags & DCERPC_SCHANNEL_ANY)) { status = smbcli_full_connection(p->conn, &cli, lp_netbios_name(), - binding->host, NULL, - "ipc$", "?????", - "", "", NULL, 0, &retry); + binding->host, + "ipc$", NULL, + "", "", NULL); } else { status = smbcli_full_connection(p->conn, &cli, lp_netbios_name(), - binding->host, NULL, - "ipc$", "?????", + binding->host, + "ipc$", NULL, username, domain, - password, 0, &retry); + password); } if (!NT_STATUS_IS_OK(status)) { DEBUG(0,("Failed to connect to %s - %s\n", binding->host, nt_errstr(status))); -- cgit