Linux smbd Command
The Linux smbd command is used for the Samba server program.
smbd is the Samba server program that can share network resources such as files and printers for access by Windows-related client programs.
Syntax
smbd [-aDhoP][-d<debug level>][-i<scope>][-l<log file>][-O<socket options>][-p<port number>][-s<configuration file>]
Parameter Description:
-a All connection logs will be added to the log file.
-d<debug level> Specifies the detail level of events recorded in the log file.
-D When this parameter is used, smbd will run as a background service.
-h Displays help.
-i<scope> Specifies the scope of the NetBIOS name.
-l<log file> Specifies the name of the log file.
-o Overwrites the existing log file each time it starts.
-O<socket options> Sets socket options.
-p<port number> Sets the port number.
-P Used only to test the correctness of the smbd program.
-s<configuration file> Specifies the configuration file for smbd.
Example
Start the Samba server
# smbd -D