Uses of samba server |
Uses of samba server
samba(SMB) is a server message block it is used to communicate between client-server.
It is mainly used for sharing access to files, printers, serial ports other resources on a network
samba allows applications to create, read and delete files on the remote server.
Sharing of files through windows to Linux, or Linux to Linux machine. it is very secure in terms of security because it is password protected.
The client establishes a long-term connection to the server. After connection establishment, the user can access the resources of the server.
samba can support browsing service nearly 35000 clients.
samba can give support to 500 users for a single size the server
SMB grants a certain right to a user with permission to read, write, execute.
The samba protocol allows the computer to read and write files to the remote host to the local
area network LAN.
Samba uses a component called CIFS (common internet file system) it is a network protocol
used by Microsoft to access ad sharing files.
What are the key features of the Samba server?
Some of the key features of the samba server
samba works on the client-server approach, where clients make a request and the server responds.
1. Authentication
USER_LEVEL Authentication- SMB requires the client machine to provide a username and
password. Once after unification client can access files or modifications. samba uses KERBEROS network authentication. it employs encrypted passwords to clients and servers
to identify each other.
2. Performance
In Samba there is a Lock that permits the user to perform some activity on a shared local file without informing the server.
SMB notify the server that the client is present when only the read action is performed on a shared file.
3.Scalability
Samba has important features in handling the number of users, giving them access
to file, printers.
SMB uses a cluster server in terms of file sharing in the network.
4. Persistent file handling
samba keeps the file in Persistent mode even after the loss of connection. the clients can re-connect the server after the network is restored.
5. Domain security
Samba has a user security level it has a machine account and it authenticates
all requests through domain controller.
example
[GLOBAL]
......
security=domain
workgroup=humanresourse
....
6. Active Directory Security
The samba server connects to ADS using Kerberos. this gives the security of authentication
it is in encrypted password protection.
7. Share-Level Security
With this security, the server accepts the only password without a precise username from the client.
for every share, it needed a password with a self share of username
example
[global]
...
security=share
....
8.Samba Account Information Databases
Samba uses password databases backend in the new version of samba.
There are different backend databases are following:
a. Plaintext
It is plaintext backend use in /etc/passwd, all the username and password are unencrypted between client and samba server.
this method is not secure.
b. smbpasswd
A general backend used in previous Samba packages, the smbpasswd backend employ a plain ASCII text layout that covers the MS Windows LanMan
and NT account, and encrypted password information.
The smbpasswd backend needs the storage of the Windows NT/2000/2003.
The smbpasswd backend is not approved because it does not hold any Windows information, such as RIDs for NT-based groups.
c. ldapsam
The ldapsam backend allows the highest distributed account installation method for Samba.
LDAP is optimal because of its ability to clone its database to any number of servers using the OpenLDAP.
LDAP database is lightweight and is preferred by large enterprises.
Read More: Koo app yellow tick verification system
Read More: Install a Windows Server in AWS
Read More: String functions in Python
Read More: Redhat troubleshooting interview questions