Help sharing files securely between win & ubuntu

Soldato
Joined
14 Apr 2009
Posts
4,329
Location
Location: Location
Hi, I’m having trouble understanding how to set up secure file sharing between windows machines (win 7, xp) and my server running ubuntu 10.10 (I’m a linux noob hence using desktop not server version). The background is I have a windows home server, I’ve installed ubuntu on a separate internal hard drive, and am now looking to share the folders on data drives that were previously shared with WHS.

I’m using samba with ubuntu 10.10 and the samba configuration gui, the folders I want to share are on a NTFS drive (which I mount after start up, I guess I need to set up a script or something to do that automatically?)

I set samba to share to everyone, now when I try to access the folder from the win 7 or xp machine I get permission denied. Even though both of those machines user accounts are included in the NTFS permissions on the shared folder. However if I change the NTFS permissions for the folder (by booting into the original server OS – whs) to allow everyone full control, then boot back into ubuntu and then try to access the folder from the win machines it works fine.

Hopefully that makes sense, so I guess my question is, how do I set up user accounts on win / samba / ubuntu so that authorised win users can access the shares but everyone can’t? Or should I be coping the folders / files I want to share on to a new drive with a different file system rather than NTFS? Forgive me if this is a totally stupid question or has be answered before.

Cheers
 
Thanks for the reply, that is exactly what I did in the end, NTFS to everyone, then only a user account with samba can access it. So the first time I accessed the files I had to put in my linux credentials and it worked :)
 
I don't know to be honest, all the backups used to do run at night and I don't really transfer stuff enough to pay much attention to them.

I've certainly not noticed any difference when opening / playing HD movies or anything like that.
 
Back
Top Bottom