From 13b0776f60f6a0f35a4afc2b3d3c6b5ec9c1ca6a Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Mon, 21 Mar 2005 23:35:58 +0000 Subject: r5929: Use cli_credentials for the SMB functions as well. Fix a couple of bugs in the new cli_credentials code (This used to be commit 4ad481cfe5cde514d2ef9646147239f3faaa6173) --- source4/client/client.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'source4/client/client.c') 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)); -- cgit