summaryrefslogtreecommitdiff
path: root/source4/client
diff options
context:
space:
mode:
Diffstat (limited to 'source4/client')
-rw-r--r--source4/client/client.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/source4/client/client.c b/source4/client/client.c
index cd580dc756..a1a055c9be 100644
--- a/source4/client/client.c
+++ b/source4/client/client.c
@@ -3045,9 +3045,7 @@ static struct smbcli_state *do_connect(const char *server, const char *share, st
}
status = smbcli_full_connection(NULL, &c, lp_netbios_name(), server,
- share, NULL, cli_credentials_get_username(cred),
- cli_credentials_get_domain(cred),
- cli_credentials_get_password(cred));
+ share, NULL, cred);
if (!NT_STATUS_IS_OK(status)) {
d_printf("Connection to \\\\%s\\%s failed - %s\n",
server, share, nt_errstr(status));