git.samba.org
/
sfrench
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
65be3af
)
s3:torture/masktest: Use cli_tree_connect_creds()
author
Stefan Metzmacher
<metze@samba.org>
Fri, 9 Dec 2016 08:49:17 +0000
(09:49 +0100)
committer
Andreas Schneider
<asn@cryptomilk.org>
Mon, 19 Dec 2016 08:48:24 +0000
(09:48 +0100)
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
source3/torture/masktest.c
patch
|
blob
|
history
diff --git
a/source3/torture/masktest.c
b/source3/torture/masktest.c
index 537cfb0aa9517fb95441496e1e02bd590735f8e5..143243d0beb6188c05f84059ec9629c7cf15dc70 100644
(file)
--- a/
source3/torture/masktest.c
+++ b/
source3/torture/masktest.c
@@
-218,8
+218,7
@@
static struct cli_state *connect_one(char *share)
DEBUG(4,(" session setup ok\n"));
- status = cli_tree_connect(c, share, "?????", password,
- strlen(password)+1);
+ status = cli_tree_connect_creds(c, share, "?????", test_creds);
if (!NT_STATUS_IS_OK(status)) {
DEBUG(0,("tree connect failed: %s\n", nt_errstr(status)));
cli_shutdown(c);