Network problem

Soldato
Joined
3 Feb 2003
Posts
2,856
Location
Shropshire
Have a small network here and all the machines use windows apart from one which is ubuntu. They all share files except one xp machine which has two drives but will only share one of them. The other asks for a password and user name as they all did to start with but it refuses you access to the drive from the ubuntu machine. Any ideas? it's doing my head in :(
 
Sounds like the permissions on the drive you are unable to access haven't been set up correctly. Is the same user / password being used irrespective of which machine in your LAN is being used? Can you access the problematic drive from one of the other Windows machines successfully, or do you get access denied irrespective of which machine you're using?

On the Windows machine that has the problem, try running a "net share" command to display the shared directories. Do you see whatever the drive you're trying to access is referred to in Windows, i.e. D$ if it's the "D drive"?
 
Net share is right and they should all be using the same names and passwords. Some other xp machine connects but another dont. So going to back up all the data and go for a format to reset permissions. Taking ownership and copying the permissions from another drive didnt help.
 
OH BTW i know it works but does it matter Windows machines being on "MSHOME" and ubuntu being on "WORKGROUP"?
 
I think they need to all be the same - at least I always have all my machines in a workgroup with the same name, just because I can't think of a reason to do otherwise. Windows boxes, as far as I'm aware, require this so I'm guessing your Ubuntu machine will too.

Also, what does your smb.conf file look like?
 
Well i have formatted and they are working fine on different work groups - always thought like you say they ought to be on the same. I can now access the drive but cant access the files. Its got to be file permissions.

smb.conf is where? i cant find it :(
 
Thinking about it, you most likely don't need to worry about the smb.conf file as you're going from Linux -> Windows. I go the other way around which is why I've had to edit it in the past when things didn't work as expected.

I'm trying to think what Windows needs... have you checked that file/print sharing is enabled (although I presume this must be if the other Windows boxes don't have issues)..?
 
Sorted! Was permissions as you said ta.
Spent ages trying to redo all permissions with no luck so
Backed up the drive - formatted it installed everything back
set up the shares and away it went!! :D
i'm happy again LOL
 
Back
Top Bottom