LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 06-09-2004, 03:52 PM   #1
powadha
Member
 
Registered: Nov 2003
Distribution: Debian SID
Posts: 649

Rep: Reputation: 31
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
 
Old 06-09-2004, 07:08 PM   #2
dimi
Member
 
Registered: May 2003
Location: Sydney, Australia
Distribution: Debian
Posts: 67

Rep: Reputation: 15
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
 
Old 06-09-2004, 09:55 PM   #3
MichaelHall
Member
 
Registered: Feb 2004
Location: Alice Springs
Distribution: Slackware
Posts: 31

Rep: Reputation: 15
Could this be a firewall issue on the Clark box?
 
Old 06-09-2004, 10:23 PM   #4
dimi
Member
 
Registered: May 2003
Location: Sydney, Australia
Distribution: Debian
Posts: 67

Rep: Reputation: 15
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
 
Old 06-10-2004, 01:46 PM   #5
powadha
Member
 
Registered: Nov 2003
Distribution: Debian SID
Posts: 649

Original Poster
Rep: Reputation: 31
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

Last edited by powadha; 06-10-2004 at 01:50 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
DNS driving me mad kkiedrowski Linux - Networking 1 11-27-2005 05:46 PM
kded driving me mad !!! gazza Mandriva 3 03-18-2005 12:19 PM
kernel is driving me mad luqman Linux - Newbie 6 02-18-2005 05:05 AM
Alsa driving me mad siphi Linux - Newbie 1 02-19-2004 08:21 PM
Samba Netlogon - Driving me mad!!! ndprichardson Linux - Networking 12 10-25-2003 02:38 AM


All times are GMT -5. The time now is 09:00 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration