Articles by "ubuntu samba"
Showing posts with label ubuntu samba. Show all posts
Install Samba on Ubuntu 12.04/11.10/11.04/10.10/10.04/Linux Mint/other Distro's and share files with samba from Ubuntu to Windows and Windows to Ubuntu

I wrote tutorials on samba a while ago but some people found that is not helpful for them or the method couldn't work properly for them, I also made video on samba sharing.

Now I wrote complete tutorial on samba configuration to share data from Ubuntu Linux to Windows and also Windows to Ubuntu Linux, It means you can access your Ubuntu shared data from Windows and Windows shared data from Linux Ubuntu with/without permissions. Permissions are up to you, if you want you can set permissions.


Install Samba on Ubuntu/Linux Mint open Terminal (Press Ctrl+Alt+T) and copy the following commands in the Terminal:

I used Linux Ubuntu 10.04 LTS and Windows 7 in this tutorial, it works for all Linux Ubuntu versions and all Windows Versions.

Method 1: How to access Ubuntu/Linux shared data from Windows
Method 2: How to access Windows shared data from Ubuntu/Linux

>> First of all How to access Ubuntu Shared Data from Windows.


Now go to Dash and search for 'Samba' then open it. As shown in picture.

samba

When Samba Server Configuration open, Click on 'Add +' button then click on browse >home >select user.

Ubuntu samba

Now go to 'Access' tab and select username from which you want to access sharing.

linux samba

Now set password on your selected username for samba sharing. Enter following command to set password (change noobslab with your selected username).




mint samba

Now right click on Folder which you want to share on network, then select 'Sharing Options'

Windows samba

Here is Folder Sharing options, You can choose and write whatever you want to do. Then click on 'Create Share'

install samba

Now open Terminal and enter following command to know your local network ip. (See the picture below and see red marks)



Note your Ubuntu/Linux Machine IP Address

samba

It's time to access your sharing on Windows, Now go to start and open 'Run' then enter ip with double backslash. Like this (\\192.168.1.3)

samba sharing

Now sharing will open, Now click on shared folders then windows will ask for samba username and password. You can share without username and password it's up to you.

samba

When you enter the username and password your shared folder will open. You can write/delete/modify whatever you want to do (It's up to your permission implementations).

samba
That's it.


>> Second How to access Windows Shared Data in Ubuntu


In Windows right click on folder which you want to share on network, Then click on 'Advanced Sharing' or 'Sharing'.

share samba

Select your Username or Everyone, I chose my username cause I want sharing restrictions.

ubuntu samba

Now click on 'Permissions' button and select options as you want.

samba

Now it's time to check your network ip, open Command prompt or go to 'Run' type 'cmd'.
In Windows Command Prompt write following command to know your local network ip.(See Picture Below)



Note your IP Address.

linux samba

Now go to Ubuntu, Open File Browser>File Menu > 'Connect to Server'

install samba

Select 'Windows Share' in Service type and Enter Windows IP Address in 'Server' then click on 'Connect'

samba

Enter your Windows Selected Username and Password, then click on 'Connect'. (Not Samba username Password)

samba

After connect you'll see folders, open your shared drive/folder and enter Windows username and password again. (Not Samba username and password)

samba

Here sharing is accessed, You can write/delete/modify whatever you want to do (It's up to your permission implementations).

samba share
That's it. Enjoy
Install Samba on Ubuntu 11.04 Natty Narwhal/Ubuntu 11.10 Oneiric Ocelot/Ubutu 12.04 Precise Pangolin/Linux Mint and Share Folders on Network

----UPDATE with Complete Tutorial on following Link----

>> Here is the Topic Ubuntu Samba share with Windows

For installation of Samba, Open terminal window (Alt+F2 and type: gnome-terminal) and copy the following commands in the Terminal:



When installation finished, Now you need to that folder which you want to share or you can make a new folder.
Note: Then go to Software Center and Search "glade" & "python-glade" and install both of them

Now start the Samba Server Configuration press(Alt+F2 and type gksu system-config-samba). To add a folder which you want to share click on the + button followed by click on the browse button. Now select the folder which want to share on network. Now enter description and check your folder writable or visible settings. Click on the access tab and give access to the user you want, when you finished click on the OK button. Now your folder is added to your Samba Server Configuration.

Now go to the shared folder, Select the folder then right click on the folder and select Sharing Option. Here add a comment and change the permissions for others to create/delete/modification in files/folders and for the guest access rules.

Samba is Sharing service between Ubuntu to other networks (Windows, linux and others).