LinuxQuestions.org
Help answer threads with 0 replies.
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
 
LinkBack Search this Thread
Old 02-10-2007, 09:26 PM   #1
traycerb
LQ Newbie
 
Registered: Feb 2007
Location: Chicago, Illinois
Distribution: Ubuntu 6.1 Edgy Eft
Posts: 5

Rep: Reputation: 0
Windows + samba +”network path not found” = teh madness


Trying to get my XP-pro machine to connect with an Ubuntu 6.1 (Edgy Eft) samba server. The most I can see is the Samba server’s name listed in the Microsoft Windows Network. Trying to access it gives me a “The network path was not found” error. (pic below)

http://img329.imageshack.us/img329/6...wserrorww8.jpg

Someone had a similar problem on this board http://www.linuxquestions.org/questi...ad.php?t=44715, which was solved by turning the firewall off. I’ve tried turning my XP firewall off, made sure Firestarter (ubuntu’s graphic firewall program), and/or iptables are not running, and I still have the error. My router has a firewall which I don’t think can be turned entirely off, but I’ve tried opening ports 137-138 (udp) and 139 (tcp)and 448 (tcp) in my router’s firewall. (pic below)

http://img258.imageshack.us/img258/1...rconfigdp0.jpg

Testparm clears the smb.conf, which was generated by SWAT. My samba server has a static IP 192.168.0.10 (hmm…which is in the range of my DHCP server’s addresses 2-51. Is that a problem?).

This great site http://www.linuxhomenetworking.com/w...roubleshooting
Has a list of troubleshooting things to try. Here’s what works (and doesn't):
>From the Samba Server try to:
>1. Ping the server's IP address and loopback address (127.0.0.1)
>2. Ping the client's IP address
Yes to both.

>3. Ping the client using its DNS name
No. Is this just the client name?

>4. Telnet to all the IP addresses on the server on port 139
No.

>Next, from the Samba Client (winXP) try to:
>1. Ping the client's IP address and loopback address (127.0.0.1)
>2. Ping the server's IP address
Yes to both.

> 3. Ping the server using its DNS name
Again, d/n work. Is this just the server name?

>4. Telnet to all the IP addresses on the server on port 139
No. can’t get puTTY to get through


Running 'smbclient -L hostname' shows the appropriate shares. I'll post my smb.conf in another post. I've spent days and now this is driving me crazy...
 
Old 02-10-2007, 09:38 PM   #2
traycerb
LQ Newbie
 
Registered: Feb 2007
Location: Chicago, Illinois
Distribution: Ubuntu 6.1 Edgy Eft
Posts: 5

Original Poster
Rep: Reputation: 0
Here's my smb.conf for the bold, pared as intelligently as I could. I have created users/passwords for the shares, and they are the same as my XP passwords (even did the "manage my network passwords" in the xp ctrl panel).

# Samba config file created using SWAT
# from 192.168.0.10 (192.168.0.10)
# Date: 2007/02/10 21:30:10

[global]
workgroup = MSHOME
realm =
netbios name = UMAIR-DESKTOP
server string = %h server (Samba, Ubuntu)
obey pam restrictions = Yes
passdb backend = tdbsam
bind interfaces only = No
security = USER
auth methods =
encrypt passwords = Yes
update encrypted = No
client schannel = Auto
server schannel = Auto
allow trusted domains = Yes
password server = *
smb passwd file = /etc/samba/smbpasswd
private dir = /etc/samba
passdb backend = tdbsam
root directory =
guest account = nobody
enable privileges = No
smb ports = 445 139
disable netbios = No
nt pipe support = Yes
nt status support = Yes
announce version = 4.9
announce as = NT
name resolve order = lmhosts wins host bcast
client signing = auto
server signing = No
client use spnego = Yes
enable asu support = Yes
paranoid server security = Yes
preferred master = Auto
local master = Yes
domain master = Auto
browse list = Yes
enhanced browsing = Yes
dns proxy = No
wins proxy = No
wins server =
wins support = No
wins hook =
wins partners =
eventlog list =
config file =
preload =
lock directory =
pid directory = /var/run/samba
remote browse sync =
socket address = 0.0.0.0
homedir map = auto.home
path =
username =
invalid users = root
valid users =
admin users =
guest only = No
guest ok = No
only user = No
hosts allow =
hosts deny =

[printers]
comment = All Printers
path = /tmp
create mask = 0700
printable = Yes
browseable = No

[print$]
comment = Printer Drivers
path = /var/lib/samba/printers

[audio]
comment = Audio Files
path = /share/audio
valid users = umair
read only = No

[video]
comment = Video Files
path = /share/video
valid users = umair
read only = No
 
Old 02-10-2007, 09:46 PM   #3
billymayday
Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 120Reputation: 120
Don't you mean port 445, not 448 (not that I think it affects operation)

Does it work if you disable firewalls at both ends (temporarily of course).

Also, do you run SELinux?
 
Old 02-10-2007, 10:01 PM   #4
traycerb
LQ Newbie
 
Registered: Feb 2007
Location: Chicago, Illinois
Distribution: Ubuntu 6.1 Edgy Eft
Posts: 5

Original Poster
Rep: Reputation: 0
good catch. i do mean 445, and the mistake was propagated into the router settings. re: SElinux, i'm actually not sure, but it does look like all the appropriate packages seem to be installed in ubuntu by default.
 
Old 02-10-2007, 10:26 PM   #5
billymayday
Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 120Reputation: 120
Does it work without either firewall?

I don't know ubuntu wrt SELinux.

edit - sorry - see you've tried firewalls off.

What if you try direct connection (ie not through the router)

Last edited by billymayday; 02-10-2007 at 10:31 PM.
 
Old 02-10-2007, 10:39 PM   #6
billymayday
Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 120Reputation: 120
Dumb question - test step 4 - telnet from the server to itself on port 139. This doesn't work? Are you sure that smb is running?
 
Old 02-11-2007, 06:59 AM   #7
traycerb
LQ Newbie
 
Registered: Feb 2007
Location: Chicago, Illinois
Distribution: Ubuntu 6.1 Edgy Eft
Posts: 5

Original Poster
Rep: Reputation: 0
good thoughts. smbd and nmdb are in the process list. smbclient on the localhost shows the appropriate shares, which i assume w/n work unless the samba server is running.

edit: by direct connection, you mean connecting the ethernet ports of the cpus directly, with the router out altogether? i'm not sure what would have to change from a config standpoint to test it out, but i can try....

Last edited by traycerb; 02-11-2007 at 11:57 AM.
 
Old 02-11-2007, 01:15 PM   #8
billymayday
Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 120Reputation: 120
Yes - I did mean without the router. Shouldn't need to change config
 
Old 02-25-2007, 01:17 PM   #9
BeeAFriend
LQ Newbie
 
Registered: Feb 2007
Posts: 1

Rep: Reputation: 0
Windows + samba +”network path not found” = teh

Hi traycerb,

I just fixed this problem for myself, but found this posting while looking for the solution. For me, the solution was to disable SELinux security.

It sounds like you are also setting up a personal network behind a firewall, as I am. I have very strict firewall settings on my switch/gateway to the internet so the SELinux level of protection on each machine is certainly overkill anyway.

I am running Fedora Core 6. To turn off SELinux, I:
* Started X
* System > Administration > Security Level and Firewall
* SELinux tab
* Disable
* OK

Hope this helps,

-Carl
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Windows to Samba, Network path not found LoRd Of XAoS Linux - Networking 7 03-31-2005 07:33 PM
SAMBA - network path not found woonaks Linux - Networking 1 07-31-2004 04:13 PM
Windows XP to Samba - error 53 The network path was not found hlm Linux - Networking 4 02-01-2004 07:26 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


All times are GMT -5. The time now is 09:04 AM.

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