SMBTORTURE(1) | Test Suite | SMBTORTURE(1) |
NAME¶
smbtorture - Run a series of tests against a SMB server
SYNOPSIS¶
smbtorture {//server/share} [-d debuglevel] [-U user%pass] [-k] [-N numprocs] [-n netbios_name] [-W workgroup] [-o num_operations] [-e num files(entries)] [-O socket_options] [-m maximum_protocol] [-L] [-c CLIENT.TXT] [-t timelimit] [-C filename] [-A] [-p port] [-s seed] [-f max_failures] [-X] {BINDING-STRING|UNC} {TEST1} [TEST2] [...]
DESCRIPTION¶
smbtorture is a testsuite that runs several tests against a SMB server. All tests are known to succeed against a Windows 2003 server (?). Smbtorture´s primary goal is finding differences in implementations of the SMB protocol and testing SMB servers.
Any number of tests can be specified on the command-line. If no tests are specified, all tests are run.
If no arguments are specified at all, all available options and tests are listed.
Binding string format¶
The binding string format is:
TRANSPORT:host[flags]
Where TRANSPORT is either ncacn_np for SMB, ncacn_ip_tcp for RPC/TCP or ncalrpc for local connections.
´host´ is an IP or hostname or netbios name. If the binding string identifies the server side of an endpoint, ´host´ may be an empty string.
´flags´ can include a SMB pipe name if using the ncacn_np transport or a TCP port number if using the ncacn_ip_tcp transport, otherwise they will be auto-determined.
other recognised flags are:
sign
seal
connect
validate
bigendian
padcheck
For example, these all connect to the samr pipe:
UNC Format¶
The UNC format is:
//server/share
OPTIONS¶
-d debuglevel
-U user%pass
-k
-W workgroup
-n netbios_name
-O socket_options
-m max_protocol
-s seed
-L
-X
-t timelimit
-p ports
-c file
-A
-C filename
-N numprocs
-o num_operations
-e num_files
-f max_failures
VERSION¶
This man page is correct for version 4.0 of the Samba suite.
SEE ALSO¶
Samba
AUTHOR¶
This utility is part of the Samba[1] suite, which is developed by the global Samba Team[2].
smbtorture was written by Andrew Tridgell.
This manpage was written by Jelmer Vernooij.
NOTES¶
- 1.
- Samba
- 2.
- Samba Team
06/20/2018 | Samba 4.0 |