summaryrefslogtreecommitdiff
path: root/source3/torture
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2011-05-28 20:39:54 +0200
committerVolker Lendecke <vl@samba.org>2011-05-28 20:50:09 +0200
commit57ae32794f841365a73f22df3b872eb001c21abc (patch)
tree6bb6f85381b746b8c7d81be7dcf9911cb1c5e123 /source3/torture
parentc430b57ce44e67d3eddc0d2fffaa78b9b0f36af5 (diff)
downloadsamba-57ae32794f841365a73f22df3b872eb001c21abc.tar.gz
samba-57ae32794f841365a73f22df3b872eb001c21abc.tar.bz2
samba-57ae32794f841365a73f22df3b872eb001c21abc.zip
s3: Add called name_type param to cli_connect_nb
Diffstat (limited to 'source3/torture')
-rw-r--r--source3/torture/locktest.c3
-rw-r--r--source3/torture/masktest.c3
2 files changed, 4 insertions, 2 deletions
diff --git a/source3/torture/locktest.c b/source3/torture/locktest.c
index 38f05f1894..d27eb5fa54 100644
--- a/source3/torture/locktest.c
+++ b/source3/torture/locktest.c
@@ -182,7 +182,8 @@ static struct cli_state *connect_one(char *share, int snum)
/* have to open a new connection */
- status = cli_connect_nb(server_n, NULL, 0, myname, Undefined, &c);
+ status = cli_connect_nb(server_n, NULL, 0, 0x20, myname, Undefined,
+ &c);
if (!NT_STATUS_IS_OK(status)) {
DEBUG(0, ("Connection to %s failed. Error %s\n", server_n,
nt_errstr(status)));
diff --git a/source3/torture/masktest.c b/source3/torture/masktest.c
index a1734abded..6eca1da693 100644
--- a/source3/torture/masktest.c
+++ b/source3/torture/masktest.c
@@ -179,7 +179,8 @@ static struct cli_state *connect_one(char *share)
server_n = server;
- status = cli_connect_nb(server, NULL, 0, "masktest", Undefined, &c);
+ status = cli_connect_nb(server, NULL, 0, 0x20, "masktest", Undefined,
+ &c);
if (!NT_STATUS_IS_OK(status)) {
DEBUG(0,("Connection to %s failed. Error %s\n", server_n,
nt_errstr(status)));