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