LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 02-09-2003, 03:59 PM   #1
Harpune
Member
 
Registered: Sep 2002
Location: Seattle, WA
Distribution: Ubuntu
Posts: 101

Rep: Reputation: 15
Post samba - the network path was not found


I am running redhat 8.0 with samba 2.2.5-10 on a windows xp network at my school. I can see my computer from the network, but when I try to acess it, I get an error 'The network path was not found.' I have opened the firewall and I am using swat to configure samba. this is what my smb.conf file looks like:

# Samba config file created using SWAT
# from localhost.localdomain (127.0.0.1)
# Date: 2003/02/09 13:38:34

# Global parameters
[global]
netbios name = HOTBOX
server string = Shriver's HotboX
encrypt passwords = Yes
obey pam restrictions = Yes
pam password change = Yes
passwd program = /usr/bin/passwd %u
passwd chat = *New*password* %n\n *Retype*new*password* %n\n *passwd:*all*authentication*tokens*updated*successfully*
unix password sync = Yes
log file = /var/log/samba/%m.log
max log size = 0
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
dns proxy = No
guest account = guest
printing = lprng

[printers]
comment = All Printers
path = /var/spool/samba
printable = Yes
browseable = No

[Music]
path = "/home/Mike/MyStuff/My Music"
guest ok = Yes

I have browsed all over these forums looking for a solution and so far nothing seems to be helping. Any ideas would be appreciated.

Thanks
 
Old 02-09-2003, 05:45 PM   #2
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
Moved: More suitable in the Networking forum.
 
Old 02-10-2003, 01:05 AM   #3
RonS
LQ Newbie
 
Registered: Jan 2003
Location: WI USA
Posts: 23

Rep: Reputation: 15
Are you sure the firewall is open? Try disabling it entirely ... just for a test.
 
Old 02-10-2003, 02:06 AM   #4
born4linux
Senior Member
 
Registered: Sep 2002
Location: Philippines
Distribution: Slackware, RHEL&variants, AIX, SuSE
Posts: 1,127

Rep: Reputation: 49
and consider the following options:

remote announce = <ur network's broadcast address>

in my home network, i also have this line:

domain master = yes

and yes, recheck the firewall settings both in your linux machine and your windows machine. i had some problems once using Pc-cillin's personal firewall configuration.
 
Old 02-10-2003, 01:35 PM   #5
Harpune
Member
 
Registered: Sep 2002
Location: Seattle, WA
Distribution: Ubuntu
Posts: 101

Original Poster
Rep: Reputation: 15
hey, quick question, for samba do i have to open both tcp and udp ports 139? Disabling the firewall semed to work, thanks. now i feel stupid.

Now that i have my samba server up on the network , is there any way to allow a particular share to be seen by anyone without prompting for a password?

Thanks,
 
Old 02-10-2003, 01:38 PM   #6
antken
Member
 
Registered: Nov 2000
Posts: 368

Rep: Reputation: Disabled
by default winxp has some nasty policy set to cause problems with samba systems

if you go and look in local security policy's and find one that says something like encrypt all server client communications

and switch that off you should get through

failing that, first before accessing the linux box ping it i think the syntax is the same as the one in linux ( note: windows will only ping it 4 times where as linux will ping it continuously )

after pinging it access the box and see if it works


hope this helped, let me know if it did not
 
Old 02-10-2003, 06:23 PM   #7
Harpune
Member
 
Registered: Sep 2002
Location: Seattle, WA
Distribution: Ubuntu
Posts: 101

Original Poster
Rep: Reputation: 15
k i got it up and running now, i have set up shares and checked them all for guest allow. From a remote computer i can login (as guest) and view the folders but not their contents,when i try to click on them i get the same "network path not found" error.

My smb.conf file has changed slightly, here it is:

# Samba config file created using SWAT
# from localhost.localdomain (127.0.0.1)
# Date: 2003/02/10 16:17:52

# Global parameters
[global]
netbios name = HOTBOX
server string = Shriver's HotboX
encrypt passwords = Yes
min passwd length = 0
map to guest = Bad User
obey pam restrictions = Yes
pam password change = Yes
passwd program = /usr/bin/passwd %u
passwd chat = *New*password* %n\n *Retype*new*password* %n\n *passwd:*all*authentication*tokens*updated*successfully*
unix password sync = Yes
log file = /var/log/samba/%m.log
max log size = 0
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
dns proxy = No
guest account = ftp
printing = lprng

[Music]
path = /home/Mike/MyStuff/MyMusic/MyMP3s
guest ok = Yes

I am thinking that the error might be with the folder i am sharing. It is automounted on a vfat partition /dev/hdb1. the line in my fstab looks like this:

/dev/hdb1 /home/Mike/MyStuff vfat owner,users,exec,suid,uid=500,gid=500 0 0

any ideas why this is going wrong?

Thanks,
 
Old 02-10-2003, 09:44 PM   #8
jamrock
Member
 
Registered: Jan 2003
Location: Kingston, Jamaica
Posts: 444

Rep: Reputation: 41
Quote:
Now that i have my samba server up on the network , is there any way to allow a particular share to be seen by anyone without prompting for a password?

public = yes

Type this under the sharename in your smb.conf file. Public shares don't need passwords.

Quote:
Disabling the firewall semed to work, thanks. now i feel stupid.
Oh please!!! We have all been there.

In Redhat we type "lokkit" and this opens up a simple firewall configuration tool. You will have to find the command for your distro. Anyway, we can customize the firewall to treat the network card as a trusted device. Make sure you trust all packets from the LAN before doing so.
 
Old 02-10-2003, 10:36 PM   #9
Harpune
Member
 
Registered: Sep 2002
Location: Seattle, WA
Distribution: Ubuntu
Posts: 101

Original Poster
Rep: Reputation: 15
is the guest ok = Yes switch the same as the public = Yes? swat has an option for guest ok but not public.

whatever the case i got it to work the way i wanted. I set the guest ok to yes and put in The 'Mike' account as the guest account. 'Mike' is the owner of the drive that this particular share resides on. Could this cause any bad side-effects that i am not counting on?

About the firewall, i am using Red-hat 8.0 and it seems that whenever i set the firewall to open port 139, a reboot and the old high-security settings are back in place, blocking access. What is the file that stores firewall settings and how can i keep it from resetting my settings when i restart?

Thanks,
 
  


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
Windows to Samba, Network path not found LoRd Of XAoS Linux - Networking 7 03-31-2005 07:33 PM
XP connecting to Samba (Network Path not found) FastFeet Linux - Networking 3 03-31-2005 07:18 PM
SAMBA - network path not found woonaks Linux - Networking 1 07-31-2004 04:13 PM
Network path not found Samba WinXP checta Linux - Networking 12 05-27-2004 05:21 AM
samba- network path not found tevtango Linux - Networking 13 04-05-2003 12:14 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 11:02 PM.

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