![]() ![]() Instead, we will create passwords using the smbpasswd utility to ensure the users only access Samba services and not the entire system. Note: Do not create passwords for these users using the system passwd command. The users we will create in this step are the ones you will use for authentication.Įxecute the command below to add two users. Generally, whenever you try to connect to the Samba file server, you will be required to authenticate using a username and password. Now, we need to create users who will access the Samba services from other PCs on the network. To enable the services through firewall, execute the commands below: sudo firewall-cmd -permanent -zone=public -add-service=samba We need to enable these services to start on boot whenever we shut down or restart our PC and allow the services through the system firewall.Įxecute the commands below to run the Samba services on boot. That means the services are up and running. sudo service smb statusįrom the image above, you can see the notification active (running). When done, run the commands below to confirm whether the services are running on your system. Winbind: This service acts as a DNS server and is needed for username and host resolution.Įxecute the commands below to start the services on your system.Nmb: Also known as nmbd, nmb is a server that understands and replies to NetBIOS requests.Smb: This service provides authentication and authorization between Windows and Linux systems.There are three primary services required to configure Samba. rpm -qa sambaįrom the image, you can see all the required packages are installed. Once done, you can confirm whether the packages were installed successfully by running the commands below. sudo yum install samba samba-client samba-common samba-winbind Samba-doc: This package contains Samba user manuals and help documents.Įxecute the command below to install all these packages. ![]() This package creates a connection between Windows domains and workgroups. Samba-domain-join-GUI: As we will see below, Samba sharing works with the help of Workgroups and Domains.Samba-winbind: This package creates a connection between Linux and Windows systems. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |