This would be easier if I was sitting in front of my Ubuntu machine, but I'm at work at the moment. Starting off by creating a system user account in Ubuntu. Set the login shell to "nologin" or "false". This will create the user account, but the user will not be able to login to your machine locally (or using ssh).
Now go to the Administration option that's called File Sharing, or Shared Folders (sorry, I don't have the screen in front of me so I don't know the exact menu option). This section will allow you to setup samba network users and the folders you'd like to share over the network. Once you've finished you should now have network access to your shared folders.
I've never had much luck with the gui samba tools, so I'll walk you through the manual samba config as well.
Open a command prompt and enter the following commands:
cd /etc/samba
touch smbpasswd
smbpasswd -a username (enter the username of the user you created)
You'll be prompted to enter the password. The username and password for the samba user should match that of the user account you created in Ubuntu.
Now let's edit the smb.conf file. Type in:
sudo vi smb.conf
The commented documentation should be enough to get you going. Please read all of the commented material (lines that begin with #).
When you get down to the bottom of the smb.conf file there will also be commented examples of how to setup samba network shares. One of the examples will have a parameter called "Allow Users". That's the one you'll want to use, because it will restrict network share access to the user account that you specify.
Once you've finished save out of the smb.conf file by hitting ZZ in vi command mode. Now enter: /etc/init.d/samba restart to restart the samba service.
Assuming you followed the smb.conf documentation correctly, you should now have a working samba server.
|