OS Manuals

/usr/bin/nmbd

Samba server

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

Usage: nmbd [OPTION...]
  -H, --hosts=STRING                 Load a netbios hosts file
  -p, --port=INT                     Listen on the specified port

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 (16)
OptionDescriptionSource
-H, --hosts STRINGLoad a netbios hosts filehelp
-p, --port INTListen on the specified porthelp
-?, --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.