diff options
Diffstat (limited to 'source4/client')
-rw-r--r-- | source4/client/client.c | 4 | ||||
-rw-r--r-- | source4/client/smbspool.c | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/source4/client/client.c b/source4/client/client.c index afdab5928c..a24fd7bfd3 100644 --- a/source4/client/client.c +++ b/source4/client/client.c @@ -2730,7 +2730,7 @@ static BOOL browse_host(const char *query_host) status = dcerpc_pipe_connect(mem_ctx, &p, binding, DCERPC_SRVSVC_UUID, DCERPC_SRVSVC_VERSION, - cmdline_credentials); + cmdline_credentials, NULL); if (!NT_STATUS_IS_OK(status)) { d_printf("Failed to connect to %s - %s\n", binding, nt_errstr(status)); @@ -3220,7 +3220,7 @@ static struct smbcli_state *do_connect(const char *server, const char *share, st } status = smbcli_full_connection(NULL, &c, server, - share, NULL, cred); + share, NULL, cred, NULL); if (!NT_STATUS_IS_OK(status)) { d_printf("Connection to \\\\%s\\%s failed - %s\n", server, share, nt_errstr(status)); diff --git a/source4/client/smbspool.c b/source4/client/smbspool.c index 41cb4c9bf3..2e7afc5ec4 100644 --- a/source4/client/smbspool.c +++ b/source4/client/smbspool.c @@ -280,7 +280,7 @@ smb_connect(const char *workgroup, /* I - Workgroup */ myname = get_myname(); nt_status = smbcli_full_connection(NULL, &c, myname, server, 0, share, NULL, - username, workgroup, password); + username, workgroup, password, NULL); free(myname); if (!NT_STATUS_IS_OK(nt_status)) { |