Samba Shares Not Working
Posted: March 24th, 2011, 1:16 pm
Hi,
First post of a nearly newbie Linux user, so be gentle! Past experience is limited to an Ubuntu Studio install on an old laptop that I am about remove and building a picture frame based on DSL with an old laptop (all from instructions on the web). Sorry about the lengthy post below.
So I found this excellent website just as I was considering options to upgrade from a Buffalo Linksation to something more capable as a file serve and media server.
Being a cautions chap, I am testing it in a VMWare install under Win7 on my desktop before I buy hardware first. Within this VMware did an "easy install" of Ubuntu Server and then I started following the instructions. Completed to date:
-Server install
-OpenSSH install - Working
-VNC virtual desktop setup - Working
-Cron script to launch VNC onstartup - Working
-Synaptic Package Manager - Working
-Samba installed - Problem
-Webmin Installed - Working
-MythTV installed (but not fully configured as my USB DTV stick is a problem)
I skipped the temperature, spin down, NFS, KVM & Raid items as this is a VM but would do this on the final build.
The problem I have is that I cannot get Samba to let me access the shares from either Ubuntu Server, my Ubuntu Laptop, Win7 or WinXP . I have:
-created a test user , with the owner set to Testuser & not Root
-created a test user folder in the Home directory for that user
-created a share to that (with both 755 & 777 permissions on different occasions)
-added myself, Testuser and another user to the specified read/write users under Samba webmin set-up for the share
-added the above users to a group called "Users" and given the whole group read/write access
-added the above users to the group called "Samba" and given the whole group read/write access
I noted that under the Samba setup in Webmin in "Edit Users" only my user name and one called "Nobody" were listed, not the other users. Is this only people with control of the Smba setup, or should this also list the other users? In a desperate moment after trying all the above, I have now deleted the "Nobody" and still no change.
Actually accessing shares was the last thing I expected to be a problem, but is the most basic function that I do need to get working! I am fairly familiar with the user/group concept as the dumbed down system on my Linkstation uses this arrangement as well. The Ubuntu VM will happily login to Win7 and Linkstations shares BTW.
I should add that my build plan for the physical server was to have a system drive for the OS, and 3 drive software Raid set-up to store the data on. That may make configuring Samba easier, but I would like to nail this problem rather than buy the hardware an have an issue.
Any thoughts gratefully received, and again apologies for the long post, but I am trying to give the background!
Regards,
Frank
First post of a nearly newbie Linux user, so be gentle! Past experience is limited to an Ubuntu Studio install on an old laptop that I am about remove and building a picture frame based on DSL with an old laptop (all from instructions on the web). Sorry about the lengthy post below.
So I found this excellent website just as I was considering options to upgrade from a Buffalo Linksation to something more capable as a file serve and media server.
Being a cautions chap, I am testing it in a VMWare install under Win7 on my desktop before I buy hardware first. Within this VMware did an "easy install" of Ubuntu Server and then I started following the instructions. Completed to date:
-Server install
-OpenSSH install - Working
-VNC virtual desktop setup - Working
-Cron script to launch VNC onstartup - Working
-Synaptic Package Manager - Working
-Samba installed - Problem
-Webmin Installed - Working
-MythTV installed (but not fully configured as my USB DTV stick is a problem)
I skipped the temperature, spin down, NFS, KVM & Raid items as this is a VM but would do this on the final build.
The problem I have is that I cannot get Samba to let me access the shares from either Ubuntu Server, my Ubuntu Laptop, Win7 or WinXP . I have:
-created a test user , with the owner set to Testuser & not Root
-created a test user folder in the Home directory for that user
-created a share to that (with both 755 & 777 permissions on different occasions)
-added myself, Testuser and another user to the specified read/write users under Samba webmin set-up for the share
-added the above users to a group called "Users" and given the whole group read/write access
-added the above users to the group called "Samba" and given the whole group read/write access
I noted that under the Samba setup in Webmin in "Edit Users" only my user name and one called "Nobody" were listed, not the other users. Is this only people with control of the Smba setup, or should this also list the other users? In a desperate moment after trying all the above, I have now deleted the "Nobody" and still no change.
Actually accessing shares was the last thing I expected to be a problem, but is the most basic function that I do need to get working! I am fairly familiar with the user/group concept as the dumbed down system on my Linkstation uses this arrangement as well. The Ubuntu VM will happily login to Win7 and Linkstations shares BTW.
I should add that my build plan for the physical server was to have a system drive for the OS, and 3 drive software Raid set-up to store the data on. That may make configuring Samba easier, but I would like to nail this problem rather than buy the hardware an have an issue.
Any thoughts gratefully received, and again apologies for the long post, but I am trying to give the background!
Regards,
Frank