git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1221236
)
s3:libsmb: make use of cli_tree_connect_creds() in clidfs.c:do_connect()
author
Stefan Metzmacher
<metze@samba.org>
Fri, 9 Dec 2016 08:06:38 +0000
(09:06 +0100)
committer
Andreas Schneider
<asn@cryptomilk.org>
Wed, 21 Dec 2016 17:35:13 +0000
(18:35 +0100)
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
source3/libsmb/clidfs.c
patch
|
blob
|
history
diff --git
a/source3/libsmb/clidfs.c
b/source3/libsmb/clidfs.c
index 62e445dc1645c4675ee7d087b2b5b0b80f712548..0bfe50dc3fdb4f4d9248621c68feea3d2c599a9e 100644
(file)
--- a/
source3/libsmb/clidfs.c
+++ b/
source3/libsmb/clidfs.c
@@
-281,7
+281,7
@@
static NTSTATUS do_connect(TALLOC_CTX *ctx,
/* must be a normal share */
- status = cli_tree_connect
(c, sharename, "?????", password
);
+ status = cli_tree_connect
_creds(c, sharename, "?????", creds
);
if (!NT_STATUS_IS_OK(status)) {
d_printf("tree connect failed: %s\n", nt_errstr(status));
cli_shutdown(c);