Samba is a free and open source implementation of the Server Message Block (SMB) protocol, which is used to share files and printers on computer networks. The SMB protocol is a network protocol that allows Windows operating systems to communicate with other network devices, such as file servers, printers and other shared resources.

Samba facilitates interoperability between Windows systems and Unix / Linux-based operating systems by allowing Unix systems to share files and resources with Windows systems using the SMB / CIFS protocol. This means that a Samba server can act as a file server for Windows customers, allowing them to access and share files as if they were in a Windows environment.

1.Installation

The first thing is to install the samba server:

In the / etc / samba / smb.conf file we will make the configuration of our folder:

We will create a samba user to access the resources:

We will restart the service to apply the configuration:

2.Access from Windows

Now we can access from a Windows client with the user we just created – >\ IP\ DIRECTORY\ PARTICIPING

He will ask us to become self-conscious:

We can see the content and create:

3.Access from Linux

We install the smbclient package to connect to shared units with samba:

List shared directories:

We connect to the shared resource

I will create a directory and check that it exists:

Bibliography

  • [Enable guest access] (https: / / learn.microsoft.com / es-en / troubleshoot / windows-client / networking / cannot-access-share-folder-file-explorer)