Here's a list of steps that I had to follow in order to finally set it up:
Step 1: Upgraded ubuntu to 10.4.
Step 2: By default ubuntu will be configured with DHCP. That's no good. Got to fix he ip address so the network drive mounts do not break everytime the server starts up.
- The easiest way to do this is to edit /etc/network/interfaces (don't mess with the gui it was kinda flaky).
iface eth0 inet static
- edit /etc/resolv.conf. Add your DNS name servers here. Or just add 184.108.40.206 ( gooogle's free dns service)
- now just restart networking: /etc/init.d/networking restart ( or sudo service networking restart)
- >ifconfig should now tell you that the ipaddress has changed. ping google.com to make sure you are up and running.
- The best resource that I found was this : http://ubuntuforums.org/showthread.php?t=202605.
- Note that in the link above the setting "guest = ok". This will allow any user to access your samba share. It should be set to no.
- Make sure that you set "security = user" and "users = winuser, otheruser" . This will restrict the access to users who have password.
- You might have to change the windows firewall setting for it to be able to connect to your shared network via smb.
- Use map network drive option in Windows explorer to map your machine. Use the following for folder:
- Click on the "Connect using a different user name". link. Enter usename and password.