LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (http://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Samba driving me mad (http://www.linuxquestions.org/questions/linux-networking-3/samba-driving-me-mad-191643/)

powadha 06-09-2004 03:52 PM

Samba driving me mad
 
I'm trying to get my shares right and I'm nearly there.

here's my setup

ADSL
|
|
ClarkConnect 2.2 Office------linux debian box
|
---------win XP box


So Clarkconnect is the router and two boxes (deb and XP) are connected

I can Share:

from XP to clark but not from XP to deb
from deb to clark and to XP
not from clark to deb but from clark to xp no prob

The problem must be with my debian samba config. Strange thing is that I made it (using swat) the same as the clark shares which work both ways. I can't even log in from XP on debian even though I set browse yes write yes and so on. Where should I start to solve this?

Please help me out, my last post didn't get any answers (I guess it was just tooo stupid)

Regards

dimi 06-09-2004 07:08 PM

I'm gonna assume that you can see the Debian box from XP. To get access to the Debian samba server, u would need a local user on that Debian box. If its a different username to what u are using in XP, when u double click on the samba share folder from XP, it will ask you for a username and password. So getting the user access setup is the first step.

Second, make sure that the folder you are tring to share has proper permission. Check the group and global permission on the folder.

Tha entry on smb.conf should look like below.

[Photos]
comment = Photo collection
path = /Pictures/
writable = yes
share modes = yes
create mask=0770
directory mask=0770
force group = groupname
valid users=@groupname

The masks setttings are upto u. and the bottom two are optional as well.

Hope it works for you.

D

MichaelHall 06-09-2004 09:55 PM

Could this be a firewall issue on the Clark box?

dimi 06-09-2004 10:23 PM

So can u see the Debian box from XP? and if you can what does it say when u try to access the debian box?

D

powadha 06-10-2004 01:46 PM

Well I can see the Debian box from XP and I can browse the files in there (different home dirs) only prob left is that I can't write. I did found googling that the ' user' nobody in debian doesn't have writing permissions. Perhaps I have to change that?
I tried changing it to ftp (recommended in the help files) but I get a login on the xp box if I do so. Guess that needs a change in the password file but can't find that.

I haven't done any changes on the directories, I looked in KDE for the options to share but I'm not sure if that's needed aswell?

Reagrds


All times are GMT -5. The time now is 08:55 AM.