LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 10-14-2006, 10:45 AM   #1
solom200163
LQ Newbie
 
Registered: Oct 2006
Posts: 4

Rep: Reputation: 0
Samba is driving me mad!! The network path was not found


Hi guys

I am sure this is not a new thread. But I have looked everywhere and tried every way I could for the last 2 weeks, with no success.
My problem is that I can access my Samba box, I can see my shares on the windows XP box but when I double click on the shared directory I need to access I get this message "\\server\directory_name is not accessible. You might not have permission to use this network resource. Contact the admin of this server. The network path was not found"
Here is my configuration:
Samba Server: Standalone server for samba running FC-5. Samba version is 3.0.23
Clients: Windows XP
Network: 192.168.1.xxx/255.255.255.0 wired and wireless

Here is my samba.conf

[global]
workgroup = workgroup
security = user
browsable = yes
server string = Samba Server
hosts allow = 192.168.1. 127.
printcap name = /etc/printcap
load printers = yes
printing = cups
log level = 3
log file = /var/log/samba/%m.log
max log size = 50000
smb passwd file = /etc/samba/smbpasswd
unix password sync = Yes
passwd program = /usr/bin/passwd %u
encrypt passwords = yes
passwd chat = *New*password* %n\n *Retype*new*password* %n\n *passwd:*all*authentication*tokens*updated*successfully*
local master = yes
domain master = auto
preferred master = auto
username map = /etc/samba/smbusers
guest ok = yes
guest account = owner
dns proxy = no
wins support = yes

[homes]
comment = Home Directories
browseable = yes
guest ok = yes

[printers]
comment = All Printers
path = /var/spool/samba
browseable = no
printable = yes

[MyHome]
path = /home/owner
writeable = yes
browseable = yes
user = owner

I have tried both option security = share or user. No difference.

I used same username on both machines, i tried to use the root password.. no difference

My iptables are set to have ports 137-139 as well as 445 opened.

I can ping the samba box from xp. When I telnet (telnet 139) I get a black screen without any response??

I have tried to change the permissions to the shared directories in every possible way withouut any success

I would appreciate any help in this problem as I am about to give samba up.
Thanks
 
Old 10-14-2006, 03:08 PM   #2
Savet
Member
 
Registered: Nov 2004
Distribution: Slackware
Posts: 73

Rep: Reputation: 15
Are your users added to samba as well as your linux box?

sorry if you have already done this, but you'll need to run:

smbpasswd -a <username>
 
Old 10-14-2006, 03:55 PM   #3
solom200163
LQ Newbie
 
Registered: Oct 2006
Posts: 4

Original Poster
Rep: Reputation: 0
thanks Savet

Yes, I had all linux users added to Samba.
 
Old 10-15-2006, 01:34 PM   #4
solom200163
LQ Newbie
 
Registered: Oct 2006
Posts: 4

Original Poster
Rep: Reputation: 0
I think I know where the problem lies. I have partitioned the hard drive to 3 partitions. (boot , home, data). Samba sees the root directory "/" as well as any other directory except /home or /data.
Any suggestions in how to get Samba to see these partitions?
Thanks
 
Old 10-15-2006, 06:20 PM   #5
ntubski
Senior Member
 
Registered: Nov 2005
Distribution: Debian, Arch
Posts: 3,780

Rep: Reputation: 2081Reputation: 2081Reputation: 2081Reputation: 2081Reputation: 2081Reputation: 2081Reputation: 2081Reputation: 2081Reputation: 2081Reputation: 2081Reputation: 2081
Samba shouldn't be aware of the partitions at all.

Can you open shares from the server computer?
 
Old 10-16-2006, 04:10 PM   #6
solom200163
LQ Newbie
 
Registered: Oct 2006
Posts: 4

Original Poster
Rep: Reputation: 0
Thanks ntubski
I thought so too. I hit my head against the wall try to find what is wrong with the partitions. I changed the permissions in every possible way. Last night, I removed all partitions and reformatted the hard drive usin th ewhole space as one partition... Walla,, the problem is solved. Now, i cam access all the directories, I cann see all the shares and no problem whatsoever.
I still do not understand!!! I had partitioned my harddrive using Druid and all my partitions where on the extended space.
Any suggestions
 
  


Reply



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
SAMBA - network path not found woonaks Linux - Networking 1 07-31-2004 04:13 PM
Samba driving me mad powadha Linux - Networking 4 06-10-2004 01:46 PM
Samba Netlogon - Driving me mad!!! ndprichardson Linux - Networking 12 10-25-2003 02:38 AM
samba- network path not found tevtango Linux - Networking 13 04-05-2003 12:14 PM
samba - the network path was not found Harpune Linux - Networking 8 02-10-2003 10:36 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 11:40 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration