summaryrefslogtreecommitdiff
path: root/source3/torture
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2001-08-24 20:11:09 +0000
committerAndrew Tridgell <tridge@samba.org>2001-08-24 20:11:09 +0000
commit464237cdb8d4f4c4c93d9cf24f38f2720ea99b9c (patch)
treef0d1b43ceb06b275bf399583119a8f76e9810813 /source3/torture
parent1399170a7716ba9ca2d71ef7f0e68d132a4172b4 (diff)
downloadsamba-464237cdb8d4f4c4c93d9cf24f38f2720ea99b9c.tar.gz
samba-464237cdb8d4f4c4c93d9cf24f38f2720ea99b9c.tar.bz2
samba-464237cdb8d4f4c4c93d9cf24f38f2720ea99b9c.zip
fixed handling of 139/445 in clients
(This used to be commit 22b372f8a7996a19bebb8cdb411df999cffa32a4)
Diffstat (limited to 'source3/torture')
-rw-r--r--source3/torture/locktest.c3
-rw-r--r--source3/torture/locktest2.c3
-rw-r--r--source3/torture/masktest.c3
3 files changed, 3 insertions, 6 deletions
diff --git a/source3/torture/locktest.c b/source3/torture/locktest.c
index 4c62b8dafc..82eee773f2 100644
--- a/source3/torture/locktest.c
+++ b/source3/torture/locktest.c
@@ -139,8 +139,7 @@ struct cli_state *connect_one(char *share)
ip = ipzero;
/* have to open a new connection */
- if (!(c=cli_initialise(NULL)) || (cli_set_port(c, 139) == 0) ||
- !cli_connect(c, server_n, &ip)) {
+ if (!(c=cli_initialise(NULL)) || !cli_connect(c, server_n, &ip)) {
DEBUG(0,("Connection to %s failed\n", server_n));
return NULL;
}
diff --git a/source3/torture/locktest2.c b/source3/torture/locktest2.c
index 37baa62b73..ce988f0cc8 100644
--- a/source3/torture/locktest2.c
+++ b/source3/torture/locktest2.c
@@ -180,8 +180,7 @@ struct cli_state *connect_one(char *share)
ip = ipzero;
/* have to open a new connection */
- if (!(c=cli_initialise(NULL)) || (cli_set_port(c, 139) == 0) ||
- !cli_connect(c, server_n, &ip)) {
+ if (!(c=cli_initialise(NULL)) || !cli_connect(c, server_n, &ip)) {
DEBUG(0,("Connection to %s failed\n", server_n));
return NULL;
}
diff --git a/source3/torture/masktest.c b/source3/torture/masktest.c
index 92fa427a1f..93caf5d017 100644
--- a/source3/torture/masktest.c
+++ b/source3/torture/masktest.c
@@ -185,8 +185,7 @@ struct cli_state *connect_one(char *share)
ip = ipzero;
/* have to open a new connection */
- if (!(c=cli_initialise(NULL)) || (cli_set_port(c, 139) == 0) ||
- !cli_connect(c, server_n, &ip)) {
+ if (!(c=cli_initialise(NULL)) || !cli_connect(c, server_n, &ip)) {
DEBUG(0,("Connection to %s failed\n", server_n));
return NULL;
}