Cookie

TheJoe.it Into the (open) source

2Aug/120

How to access a “shared folder” Windows da Linux con Samba

Caution!

This article was written in the 2012, there may have been some developments in the subject matter.
If in doubt please leave a comment in the bottom of the article.
Thanks.

samba_logo

Many networks have the advantage of Windows "Active Directory" and Local Domains, an important priority within the company if. Most of the Windows shares using the solution "WORKGROUP", the default choice when creating a shared network (to share files or printers). The majority of users have the idea that WORKGROUP is something that can be accessed only by Windows. It is not so and we will prove in this article with the help of a small program command line for linux: Samba.

For simplicity we will see how to access the shares with Ubuntu, but once installed the Samba process is the same for any distribution.

We install Samba

Open the terminal and usually we use the repository system to automatically install packages:

sudo apt-get install samba smbfs

Install the two packages and probably some dependence.

Configuriamo Samba

Edit the file "/etc/samba/smb.conf" and look for the following line:

workgroup = WORKGROUP

All we have to do is change "WORKGROUP" in the name of our Workgroup (whether we are using the name WORKGROUP as the default in Windows that let). Apply the changes save and restart Samba with this command:

sudo / etc / init.d / smbd restart

Now the Linux machine is able to show all the computers in the same workgroup, and it is possible (come in ambiente Windows) share directories with other users. Operation is simple using Nautilus (right click on a directory, select "Sharing Options"). This will allow us to easily share a directory, over that set of permissions on it (what's not too easy to do in Windows).

About

I keep this blog as a hobby by 2009. I am passionate about graphic, technology, software Open Source. Among my articles will be easy to find music, and some personal thoughts, but I prefer the direct line of the blog mainly to technology. For more information contact me.

Comments (0) Trackbacks (0)

No comments yet.


Leave a comment

No trackbacks yet.