summaryrefslogtreecommitdiff
path: root/source/torture/locktest.c
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2007-12-12 02:15:29 +0100
committerStefan Metzmacher <metze@samba.org>2007-12-21 05:49:42 +0100
commit2833f320de1f1fd39c710ad0a61c3fa1bb1df31f (patch)
treeb2a4d6ae3298760e9296d5f28a7417586aa93f1e /source/torture/locktest.c
parentf933b4362124bfdd25544b4e27992d9ca4405848 (diff)
downloadsamba-2833f320de1f1fd39c710ad0a61c3fa1bb1df31f.tar.gz
r26409: Pass smb ports along.
Diffstat (limited to 'source/torture/locktest.c')
-rw-r--r--source/torture/locktest.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/torture/locktest.c b/source/torture/locktest.c
index 82e9b416b3c..9758cd2cf66 100644
--- a/source/torture/locktest.c
+++ b/source/torture/locktest.c
@@ -153,6 +153,7 @@ static struct smbcli_state *connect_one(struct loadparm_context *lp_ctx,
printf("\\\\%s\\%s\n", server, share);
status = smbcli_full_connection(NULL, &c,
server,
+ lp_smb_ports(lp_ctx),
share, NULL,
servers[snum], NULL);
if (!NT_STATUS_IS_OK(status)) {