OS Manuals

/usr/bin/smbd

Samba server

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

Usage: smbd [OPTION...]
  -b, --build-options                     Print build options
  -p, --port=STRING                       Listen on the specified transports
  -P, --profiling-level=PROFILE_LEVEL     Set profiling level

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

Daemon options:
  -D, --daemon                            Become a daemon (default)
  -i, --interactive                       Run interactive (not a daemon) and
                                          log to stdout
  -F, --foreground                        Run daemon in foreground (for
                                          daemontools, etc.)
      --no-process-group                  Don't create a new process group

Version options:
  -V, --version                           Print version
Options (17)
OptionDescriptionSource
-b, --build-optionsPrint build optionshelp
-p, --port STRINGListen on the specified transportshelp
-P, --profiling-level PROFILE_LEVELSet profiling levelhelp
-?, --helpShow this help messagehelp
--usageDisplay brief usage message.help + man
-d, --debuglevel DEBUGLEVELSet debug levelhelp
--debug-stdoutThis will redirect debug output to STDOUT.help + man
-s, --configfile CONFIGFILEThe file specified contains the configuration details required by the server.help + man
--option name=valueSet the smb.conf(5) option "<name>" to value "<value>" from the command line.help + man
-l, --log-basename LOGFILEBASEBasename for log/debug fileshelp
--leak-reportEnable talloc leak reporting on exit.help + man
--leak-report-fullEnable full talloc leak reporting on exit.help + man
-D, --daemonBecome a daemon (default)help
-i, --interactiveRun interactive (not a daemon) and log to stdouthelp
-F, --foregroundRun daemon in foreground (for daemontools, etc.)help
--no-process-groupDon't create a new process grouphelp
-V, --versionPrint versionhelp

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