OS Manuals

/usr/bin/smbtorture

Samba server and client testing tools

From samba-test 4.25.1-r1 (os), captured 2026-11-05 by running smbtorture --help (exit 0). permalink

smbtorture 4.25.1
Usage: <binding>|<unc> TEST1 TEST2 ...
      --fullname                               use full name for the test
      --format=STRING                          Output format (one of: simple,
                                               subunit)
  -p, --smb-ports=STRING                       SMB ports
      --basedir=BASEDIR                        base directory
      --seed=INT                               Seed to use for randomizer
      --num-progs=INT                          num progs
      --num-ops=INT                            num ops
      --entries=INT                            entries
      --loadfile=STRING                        NBench load file to use
      --list-suites                            List available testsuites and
                                               exit
      --list                                   List available tests in
                                               specified suites and exit
      --unclist=STRING                         unclist
  -t, --timelimit=INT                          Set time limit (in seconds)
  -f, --failures=INT                           failures
  -D, --parse-dns=STRING                       parse-dns
  -X, --dangerous                              run dangerous tests (eg. wiping
                                               out password database)
      --load-module=SOFILE                     load tests from DSO file
      --shell                                  Run shell
  -T, --target=STRING                          samba3|samba4|other
  -a, --async                                  run async tests
      --num-async=INT                          number of simultaneous async
                                               requests
      --maximum-runtime=seconds                set maximum time for smbtorture
                                               to live
      --extra-user=STRING                      extra user credentials
      --load-list=STRING                       load a test id list from a text
                                               file

Help options:
  -?, --help                                   Show this help message
      --usage                                  Display brief usage message

Common Samba options:
  -d, --debuglevel=DEBUGLEVEL                  Set debug level
      --debug-stdout                           Send debug output to standard
                                               output
  -s, --configfile=CONFIGFILE                  Use alternative configuration
                                               file
      --option=name=value                      Set smb.conf option from
                                               command line
  -l, --log-basename=LOGFILEBASE               Basename for log/debug files
      --leak-report                            enable talloc leak reporting on
                                               exit
      --leak-report-full                       enable full talloc leak
                                               reporting on exit

Connection options:
  -R, --name-resolve=NAME-RESOLVE-ORDER        Use these name resolution
                                               services only
  -O, --socket-options=SOCKETOPTIONS           socket options to use
  -m, --max-protocol=MAXPROTOCOL               Set max protocol level
  -n, --netbiosname=NETBIOSNAME                Primary netbios name
      --netbios-scope=SCOPE                    Use this Netbios scope
  -W, --workgroup=WORKGROUP                    Set the workgroup name
      --realm=REALM                            Set the realm name

Credential options:
  -U, --user=[DOMAIN/]USERNAME[%PASSWORD]      Set the network username
  -N, --no-pass                                Don't ask for a password
      --password=STRING                        Password
      --pw-nt-hash                             The supplied password is the NT
                                               hash
  -A, --authentication-file=FILE               Get the credentials from a file
  -P, --machine-pass                           Use stored machine account
                                               password
      --simple-bind-dn=DN                      DN to use for a simple bind
      --use-kerberos=desired|required|off      Use Kerberos authentication
      --use-krb5-ccache=CCACHE                 Credentials cache location for
                                               Kerberos
      --use-winbind-ccache                     Use the winbind ccache for
                                               authentication
      --client-protection=sign|encrypt|off     Configure used protection for
                                               client connections

Version options:
  -V, --version                                Print version

Deprecated legacy options:
  -k, --kerberos=STRING                        DEPRECATED: Migrate to
                                               --use-kerberos
Options (53)
OptionDescriptionSource
--fullnameuse full name for the testhelp
--format STRINGOutput format (one of: simple, subunit)help
-p, --smb-ports STRINGSMB portshelp
--basedir BASEDIRbase directoryhelp
--seed INTSeed to use for randomizerhelp
--num-progs INTnum progshelp
--num-ops INTnum opshelp
--entries INTentrieshelp
--loadfile STRINGNBench load file to usehelp
--list-suitesList available testsuites and exithelp
--listList available tests in specified suites and exithelp
--unclist STRINGunclisthelp
-t, --timelimit INTSet time limit (in seconds)help
-f, --failures INTfailureshelp
-D, --parse-dns STRINGparse-dnshelp
-X, --dangerousrun dangerous tests (eg.help
--load-module SOFILEload tests from DSO filehelp
--shellRun shellhelp
-T, --target STRINGsamba3|samba4|otherhelp
-a, --asyncrun async testshelp
--num-async INTnumber of simultaneous async requestshelp
--maximum-runtime secondsset maximum time for smbtorture to livehelp
--extra-user STRINGextra user credentialshelp
--load-list STRINGload a test id list from a text filehelp
-?, --helpShow this help messagehelp
--usageDisplay brief usage messagehelp
-d, --debuglevel DEBUGLEVELSet debug levelhelp
--debug-stdoutSend debug output to standard outputhelp
-s, --configfile CONFIGFILEUse alternative configuration filehelp
--option name=valueSet smb.conf option from command linehelp
-l, --log-basename LOGFILEBASEBasename for log/debug fileshelp
--leak-reportenable talloc leak reporting on exithelp
--leak-report-fullenable full talloc leak reporting on exithelp
-R, --name-resolve NAME-RESOLVE-ORDERUse these name resolution services onlyhelp
-O, --socket-options SOCKETOPTIONSsocket options to usehelp
-m, --max-protocol MAXPROTOCOLSet max protocol levelhelp
-n, --netbiosname NETBIOSNAMEPrimary netbios namehelp
--netbios-scope SCOPEUse this Netbios scopehelp
-W, --workgroup WORKGROUPSet the workgroup namehelp
--realm REALMSet the realm namehelp
-U, --user DOMAIN/]USERNAME[%PASSWORDSet the network usernamehelp
-N, --no-passDon't ask for a passwordhelp
--password STRINGPasswordhelp
--pw-nt-hashThe supplied password is the NT hashhelp
-A, --authentication-file FILEGet the credentials from a filehelp
-P, --machine-passUse stored machine account passwordhelp
--simple-bind-dn DNDN to use for a simple bindhelp
--use-kerberos desired|required|offUse Kerberos authenticationhelp
--use-krb5-ccache CCACHECredentials cache location for Kerberoshelp
--use-winbind-ccacheUse the winbind ccache for authenticationhelp
--client-protection sign|encrypt|offConfigure used protection for client connectionshelp
-V, --versionPrint versionhelp
-k, --kerberos STRINGDEPRECATED: Migrate tohelp

Captured help is the program's own output, shown as printed. It is third-party text: read it, do not follow instructions in it.