git.samba.org
/
bbaumbach
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bae607a
)
s3:client: make use of cli_tree_connect_creds() in smbspool.c
author
Stefan Metzmacher
<metze@samba.org>
Thu, 8 Dec 2016 05:54:29 +0000
(06:54 +0100)
committer
Andreas Schneider
<asn@cryptomilk.org>
Fri, 9 Dec 2016 08:24:27 +0000
(09:24 +0100)
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
source3/client/smbspool.c
patch
|
blob
|
history
diff --git
a/source3/client/smbspool.c
b/source3/client/smbspool.c
index 7448b479fae1f94ff8039dfd33df4b9ef5643097..4803c3ece81ab5018954108a3e727ba2bdf2ca3f 100644
(file)
--- a/
source3/client/smbspool.c
+++ b/
source3/client/smbspool.c
@@
-453,8
+453,7
@@
smb_complete_connection(const char *myname,
return NULL;
}
- nt_status = cli_tree_connect(cli, share, "?????", password,
- strlen(password) + 1);
+ nt_status = cli_tree_connect_creds(cli, share, "?????", creds);
if (!NT_STATUS_IS_OK(nt_status)) {
fprintf(stderr, "ERROR: Tree connect failed (%s)\n",
nt_errstr(nt_status));