Ubuntu is a popular Linux distribution and it comes with its own Samba server. This server can be used to share files between users on the same computer. Ubuntu also includes a Samba client, which can be used to access files stored on other computers. To use Ubuntu’s Samba server, you first need to create a user account and set up permissions for that user. Then, you can install the Samba client on your computer. Once you have installed the client, you can create a new directory called “samba” and place your Ubuntu files in that directory. To share files between users on your computer, you first need to create an account with Ubuntu and set up permissions for that account. Then, you can use the Samba client to access those files from another computer.


First, make sure that you’ve installed Samba server.

To share the home directories, open up smb.conf with the following command:

Find this section of the file, and make it match the following:

Now you should be able to map a drive on windows using the following share format:

Un-comment the following (and tweak the other settings below to suit) # to enable the default home directory shares. This will share each # user’s home directory as \server\username [homes] comment = Home Directories browseable = yes

By default, \server\username shares can be connected to by anyone # with access to the samba server. Un-comment the following parameter # to make sure that only “username” can connect to \server\username valid users = %S

By default, the home directories are exported read-only. Change next # parameter to ‘yes’ if you want to be able to write to them. writable = yes

For example, if the Ubuntu machine is named ubuntuserv, and the username is geek, your share path would be \ubuntuserv\geek