How to Start a Samba Server?

Samba is a software package that enables Linux clients to connect to the network resources (such as file shares and printers on a network) with the computers that use the Server Message Block (SMB) protocol. The Samba software package contains a variety of daemon processes, administrative tools, user tools, and configuration files. Linux saves the Samba configuration in the /etc/samba/smb.conf file. To start the server, you need to run nmbd and smbd with the following arguments, where smb_config_file is the full path of your smb.conf file:

nmbd -D -s smb_config_file
smbd -D -s smb_config_file
The nmbd daemon is a NetBIOS name server, and smbd does the actual work of handling share requests. The -D option specifies daemon mode. If you alter the smb.conf file while smbd is running, notify the daemon of the changes with a HUP signal.

Share
This entry was posted in Important for LPI 117-101 and tagged . Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>