Book Image

Learning RHEL Networking

By : Andrew Mallett, Adam Miller
Book Image

Learning RHEL Networking

By: Andrew Mallett, Adam Miller

Overview of this book

Table of Contents (18 chapters)
Learning RHEL Networking
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

An overview of Samba and Samba services


When investigating our main services and using Samba, we will need to install the samba package; this package can be installed as follows:

$ sudo yum install -y samba

With the package installed, the following services are added to our system:

  • For file and print sharing, we have the smbd service. For this service, we will need to open TCP ports 139 and 445.

  • If we need to respond to legacy NetBIOS names requests, we will need to start the nmbd service. We will need this for older clients, such as Windows 95, 98, and ME. Windows 2000 and XP clients can make use of this network browsing protocol as well. Should we need this service, which somehow I doubt, we will need to open the UDP port 137.

If you want to join a Windows domain, then you can add client tools packages such as samba-winbind or sssd-common.

If you use the firewall-cmd command, adding the Samba service will enable three ports for you. To add the Samba service to a firewall, we will use the following...