What is Samba Server and features
what is Samba Server a networking protocol that allows you to share files and print services between windows and Linux machine. It uses the port number 445 and 139 for TCP.
Server Message Block(SMB) now well known as Common Internet File System (CIFS). Samba can also be used as Active directory in Linux Server.
If you want to block bulk of files and print sharing traffic, you need to block both port 445 and 139.
Check Out : Nagios Service failed To Start
Benefits Of Samba Server
- Windows share can be accessed and mount on Linux machine.
- Can be configured as Primary Domain Controller(PDC) and as Backup Domain Controller (BDC) for a samba based PDC.
- Provides Windows Internet Named Service (WINS) name resolution.
Packages required for Samba
Check Out : Restore & Backup Of MySQL Server
- Samba configuration file = /etc/samba/smb.conf
- Samba linux user mappings = /etc/samba/smbusers
- Samba log file = /var/log/samba
- Samba startup/stop directive = /etc/sysconfig/samba
- Samba user password = /var/lib/samba/private/smbpasswd
Commands to remember
- Test Samba Configuration file
- User password Set
smbpasswd –a username
- Check Access for client from server
smbclient -L //localhost –U username