| | In this example, local area settings have been done as shown in the figure.
Some samba packages are required for network access. Open the Ubuntu Software Center and install the samba, system-config-samba and smbfs applications. Or, open Terminal and run the following command:
sudo apt-get -y install samba system-config-samba smbfs |
Editing nsswitch.conf file |
| | Open the file nsswitch.conf in etc folder with administrative rights. In Terminal:
sudo gedit /etc/nsswitch.conf
In order to resolve the machine names on local area network, add wins protocol into the hosts section.
Save the file and quit.
Restart the operating system. |
Open the Samba application. Define the workgroup as MYWGROUP in Server Settings section. |
| | Open the Samba Users section in the Samba application.
Assign the network password for MYAdmin account. Add MYUser account and assign a network password.
Or in Terminal:
smbpasswd -s -a myadmin smbpasswd -s -a myuser |
| | Open the Samba application and share the Shared folder. |
|