smbcontrol --version (return code: 0)
Version 4.3.11-Ubuntu
smbcontrol --help (return code: 1)
Usage: smbcontrol [OPTION...] <destination> <message-type> <parameters>
-t, --timeout=TIMEOUT Set timeout value in seconds
Help options:
-?, --help Show this help message
--usage Display brief usage message
Common samba options:
-d, --debuglevel=DEBUGLEVEL Set debug level
-s, --configfile=CONFIGFILE Use alternate configuration file
-l, --log-basename=LOGFILEBASE Base name for log files
-V, --version Print version
--option=name=value Set smb.conf option from command line
<destination> is one of "nmbd", "smbd", "winbindd" or a process ID
<message-type> is one of:
debug Set debuglevel
idmap Manipulate idmap cache
force-election Force a browse election
ping Elicit a response
profile
inject Inject a fatal signal into a running smbd
stacktrace Display a stack trace of a daemon
profilelevel
debuglevel Display current debuglevels
printnotify Send a print notify message
close-share Forcibly disconnect a share
kill-client-ip Forcibly disconnect a client with a specific IP address
ip-dropped Tell winbind that an IP got dropped
lockretry Force a blocking lock retry
brl-revalidate Revalidate all brl entries
pool-usage Display talloc memory usage
dmalloc-mark
dmalloc-log-changed
shutdown Shut down daemon
drvupgrade Notify a printer driver has changed
reload-config Force smbd or winbindd to reload config file
reload-printers Force smbd to reload printers
nodestatus Ask nmbd to do a node status request
online Ask winbind to go into online state
offline Ask winbind to go into offline state
onlinestatus Request winbind online status
dump-event-list Dump event list
validate-cache Validate winbind's credential cache
dump-domain-list Dump winbind domain list
notify-cleanup (null)
num-children Print number of smbd child processes
msg-cleanup (null)
noop Do nothing