Monday, November 30, 2009

Sharing files/folders to Windows clients from linux (Ubuntu)

Right click the folder that needs to be shared. Select the option 'Sharing Options'. The file manager window gets open.



Enable 'Share this folder'. On doing so, if the sharing service is not installed the following window will appear.



Press the button "Install service". It will install the SMB service.



After successful installation, it will ask to retsart your session.



Press the button "Restart session".

And now add a SMB user. To do so, open the terminal in Ubuntu and type the following command.

 sudo smbpasswd -a username

This will ask for the new SMB password for the username given. Provide the SMB password. After successful addition of SMB user, the shared folder can be accessed from the windows client using the username and password created.

No comments: