Samba server with two XP boxes
Firstly, apologies if this isn't in the right forum, but I figured it was at least a bit security related.
Here's what I want to do:
I would like to set up the share in such a way that people on other computers on the network can access a remote hard drive and use it just like it was a local hard drive without having to enter usernames/passwords, etc. I realise that this is a possible (large) security hole, but there's not a lot I can do about it because of the fact that my mum and dad are going to be using it.
Here's what actually happens:
I've got a usb external hdd attached to a box running debian. I have one computer running Win XP Professional and one running Win XP Home. I've been having problems with them for ages since even though they say they are both on the same workgroup and file and printer sharing is enabled (apparently) on both boxes, the Professional box can't access a printer which is attached to the Home box (or at least I get it working for a while and it suddenly stops working for no apparent reason i.e. I haven't made any changes to any of the settings on either box).
At the moment I've got a samba share running on the debian box which allows the two XP boxes to see the hdd, but they don't seem to have write access. I've looked at the permissions and sure enough there's no group and "world" write permissions, but performing a chmod even as root doesn't seem to alter this. I realise this is probably easy to solve, but I just don't have a clue (I'm more of a programmer than a sys admin).
Here's my smb.conf file:
Code:
[global]
workgroup = MSHOME
security = SHARE
[philips]
path = /mnt/usbhd
read only = No
guest ok = Yes
And if it's of any interest to you I've been using SWAT to configure samba since when I was editing smb.conf by hand it didn't seem to work (not that there's any change now :))
Also, although it says in the config above that the workgroup is MSHOME, when I check that with smbclient, apparently the workgroup is WORKGROUP and not MSHOME. Weird.
Anyhow, I can give you any more information as you need it. Thanks in advance,
ac