Cant get permissions working windows to Ubuntu using Samba
I think I have done everything right, but I still cant get this to work.
I have a Windows XP box with a USB disck drive formatted and full of data. I have taken this drive and plugged it into my Ubuntu server.
I want to be able to access the drive from XP. As XP prompts me for a logon and password when I try to access the drive I do not want the credentials to be those of the usual user on my Ubuntu box. I therefore would like to set up a second user on my Ubuntu box with limited priviledges and to issue only this password for users accessing the share.
Upon accessing the share I can enter the username and password of the currently logged on Ubuntu user (slates) and it works fine. But I cannot get the alternate username and password I have set up (samba) to allow access. The samba log tells me "permission denied".
Here is what I have done :
Installed and started samba.
set up a share in smb.conf :
path = /media/USBDRIVE/test
comment = Test share
browseable = yes
writeable = yes
create mask = 0775
force group = slates
directory mode = 0775
I have addedd Linix (ubuntu) user samba.
I have added a user and password for user samba samba server.
I have restarted samba server
But no joy : permssion denied when accessing from windows using the samba user (I have the correct password) according to the samba logs.
I do notice that my /media/USBDRIVE has permissions drwx------ slates
This setting would imply that user samba would not have access. However Im expecting samba to override this.
I also note that I cannot change these settings, a sudo chmod 0777 command executes without errors but does nopt change the security settings.
Can anyone enlighten me as to what Im missing here please ? Would I expect to be able to do what Im trying to do, and if so what have I overlooked that it stopping it from working as expected ?