I. SambaInstallation:
Sudo apt-Get Insall samba
Sudo apt-Get install smbfs
II.Create shared directory:
Mkdir / Home / Phinecos / Share
Sodu chmod 777 / Home / Phinecos / Share
3..CreateSambaConfiguration File:
1.Save existing configuration files
Sudo CP / Etc / Samba / Smb. conf / Etc / Samba / Smb. conf. Bak
2.Modify the current configuration file
Sudo gedit / Etc / Samba / Smb. conf
InSmb. confLast added
[Share]
Path = / Home / Phinecos / Share
Available = Yes
Browsealbe = Yes
Public = Yes
Writable = Yes
Thu.CreateSambaAccount
Sudo touch / Etc / Samba / Smbpasswd
Sudo smbpasswd - A phinecos
Then you will be asked to enterSambaAccount Password
[If Step 4 is absent, a prompt will be displayed when you log on.Session Setup failed: nt_status_logon_failure]
V..RestartSambaServer
Sudo / Etc / Init. d / Samba restart
Sat..Test
Smbclient - L // Localhost/share
7. Use
You can enter the IP address in windows and enter it in the folder. " \\ " + " The IP address or Host Name of the Ubuntu Machine " + " \\ " + " Share "