summaryrefslogtreecommitdiff
path: root/source3/torture/scanner.c
diff options
context:
space:
mode:
authorAlexander Bokovoy <ab@samba.org>2006-07-31 09:41:25 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 11:38:26 -0500
commit5fbe298b5ad781670715c63e248131498d73e7c6 (patch)
tree8976d8842971fcbc5a426b2cbcbd17a9d8a1da9c /source3/torture/scanner.c
parent175ac9f7dbf3dfa00a4da0447849241cc7c8d50c (diff)
downloadsamba-5fbe298b5ad781670715c63e248131498d73e7c6.tar.gz
samba-5fbe298b5ad781670715c63e248131498d73e7c6.tar.bz2
samba-5fbe298b5ad781670715c63e248131498d73e7c6.zip
r17338: Add support for multiple shares test inspired by Samba 4 torture's --unclist option. Triggered by -b sharelist_file option.
Based on Peter Samogyi's work. I'm not sure what concept for fstring replacement is currently in place though (talloc-ed strings? or it was for pstring only?) (This used to be commit c9f8fafad698c5bc75df86ee8b611104d3fb65bc)
Diffstat (limited to 'source3/torture/scanner.c')
-rw-r--r--source3/torture/scanner.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/torture/scanner.c b/source3/torture/scanner.c
index 1510cd70f4..87c82f8a73 100644
--- a/source3/torture/scanner.c
+++ b/source3/torture/scanner.c
@@ -196,7 +196,7 @@ BOOL torture_trans2_scan(int dummy)
printf("starting trans2 scan test\n");
- if (!torture_open_connection(&cli)) {
+ if (!torture_open_connection(&cli, 0)) {
return False;
}
@@ -398,7 +398,7 @@ BOOL torture_nttrans_scan(int dummy)
printf("starting nttrans scan test\n");
- if (!torture_open_connection(&cli)) {
+ if (!torture_open_connection(&cli, 0)) {
return False;
}