LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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-02-2003, 01:05 PM   #1
tevtango
LQ Newbie
 
Registered: Feb 2002
Posts: 11

Rep: Reputation: 0
samba- network path not found


When I try to connect to the smaba share from Windows2000, I get 'network path not found.'
I tried mapping the drive using the ip of the linux RH8, and same result.

I think I have NetBois, browse master, problems. WHat should these settings look like when Win2000 is involved, and any other ideas would be appreciated.
 
Old 02-02-2003, 05:12 PM   #2
hawk4eye
Member
 
Registered: Jul 2002
Location: Lacon, IL
Distribution: Slackware
Posts: 35

Rep: Reputation: 15
Do you have the security = user
Try: security = share
You must add yourself as a samba user to be able to access anything if your security is set to user.
plus make sure your in the same workgroup

Hope this helped
 
Old 02-02-2003, 06:37 PM   #3
jamrock
Member
 
Registered: Jan 2003
Location: Kingston, Jamaica
Posts: 444

Rep: Reputation: 41
Check your firewall settings. Make sure that your firewall isn't blocking all access from the network.

I don't think you have a password problem at this stage. It seems as if your Windows machine can't see the share at all.

There could be a number of other reasons. Why not post your smb.conf file so we can look at it?
 
Old 02-02-2003, 07:06 PM   #4
jamrock
Member
 
Registered: Jan 2003
Location: Kingston, Jamaica
Posts: 444

Rep: Reputation: 41
Are you on an existing Windows network or are these the only two machines that need to be linked?

Are you using XP Pro or XP Home?
 
Old 02-02-2003, 07:52 PM   #5
tevtango
LQ Newbie
 
Registered: Feb 2002
Posts: 11

Original Poster
Rep: Reputation: 0
I added the user rw in the vailid users section,
I am confused about how the name of the machine, NetBois, and DNS, relate. Is there an issue that needs addressing there?

I am using Windows2000Pro, Win98se, and this RH8, through a linksys router/firewall cable modem. All the firewall settings are off, that I can tell, and the windows network is okay between the win2000 and win98 machines.
Are there RH firewall settings for me to look at? If so, how do I do that?

# Samba config file created using SWAT
# from localhost.localdomain (127.0.0.1)
# Date: 2003/02/02 18:40:02

# Global parameters
[global]
netbios name = BERTSREDHAT
server string = Samba Server
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
preferred master = True
local master = No
domain master = False
dns proxy = No
hosts allow = 192.168.1. 192.168.2. 127.
printing = lprng

[homes]
comment = Home Directories
path = /home
valid users = %S,rw
read only = No
create mask = 0664
directory mask = 0775

[printers]
comment = All Printers
path = /var/spool/samba
printable = Yes
browseable = No
 
Old 02-04-2003, 02:39 PM   #6
cgrowdon
LQ Newbie
 
Registered: Feb 2003
Location: Reno, NV
Distribution: RH 7.x , 8
Posts: 4

Rep: Reputation: 0
bert,
-- regarding RH8 firewalling... if you did a standard RH install you probably have it on. (In general I think it is probably better to default on and have to learn when it is OK to turn it off than to have a new install running unprotected. But you are already insulated from the public 'net by your router firewall system, so....)

to see if it's running try

service smb status

from a root login.

To turn off and try it you could

service smb stop

and if that helps, you could keep it off (over a reboot, etc) with

chkconfig smb off


g'luck
 
Old 02-04-2003, 03:17 PM   #7
hawk4eye
Member
 
Registered: Jul 2002
Location: Lacon, IL
Distribution: Slackware
Posts: 35

Rep: Reputation: 15
The nebios name is what appears in the network neiborhood. If you map the network drive you would use the nebios name

\\BERTSREDHAT\HOMES

this will give you the listing of /home becouse its the
path = /home in the [homes] share
in the file you posted I seen no
security =
or
workgroup =
you need to add the workgroup name that you are in to that file (smb.conf)
In 98se, if you right click your network icon, click properties then identificatin, will show your workgroup name.
In slackware I use testparm to check the config status on the smb.conf file, not sure if RH has that ans ps ax gives me a listing of what proccesas are running.
Make sure smbd -D and nmbd -D are.
 
Old 02-04-2003, 06:45 PM   #8
tevtango
LQ Newbie
 
Registered: Feb 2002
Posts: 11

Original Poster
Rep: Reputation: 0
I am using SWAT to configure the smb.conf file.
I copied the short version of the file, in the long version I have

workgroup = WORKGROUP
security = USER

I just tried
security = SHARE
restarted the server and same result,
'Network Path not found'

Do I have to configure BIND or any other service, or some settings in the 'browse master' elections or something like that?
 
Old 02-04-2003, 07:48 PM   #9
tevtango
LQ Newbie
 
Registered: Feb 2002
Posts: 11

Original Poster
Rep: Reputation: 0
I am having a hard time understanding what my DNS file should look like. Should the Master Zone for the RH8 box be localhost or Bertsredhat? Or should there be an entry for Bertsredhat in DNS with an ip?
if this doesn't make sense, it is because I don't understand fully the concepts.
 
Old 02-05-2003, 09:30 AM   #10
hawk4eye
Member
 
Registered: Jul 2002
Location: Lacon, IL
Distribution: Slackware
Posts: 35

Rep: Reputation: 15
localhost, wins server will put the name to address for you.

Have you checked you firewall rules as jamrock suggested?
If not its probly the problem. Try using this script for your fire wall then see if the share comes into view.

iptables -P INPUT ACCEPT
iptables -P OUTPUT ACCEPT
iptables -P FORWARD ACCEPT
iptables -t nat PREROUTING ACCEPT
iptables -t nat POSTROUTING ACCEPT
iptables -t nat OUTPUT ACCEPT
iptables -t mangle -P PREROUTING ACCEPT
iptables -t mangle -P OUTPUT ACCEPT
iptables -F
iptables -t nat -F
iptables -t mangle -F
iptables -X
iptables -t nat -X
iptables -t mangle -X

If this is your router than you will want to have also add another POSTROUTING rule to have internet to the internal net.

iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE

and this assumes eth0 is the external nic to dsl/cable modem.
 
Old 02-05-2003, 10:12 AM   #11
hawk4eye
Member
 
Registered: Jul 2002
Location: Lacon, IL
Distribution: Slackware
Posts: 35

Rep: Reputation: 15
oops made a mistake change the difference in these three lines
add -P after nat

iptables -t nat -P PREROUTING ACCEPT
iptables -t nat -P POSTROUTING ACCEPT
iptables -t nat -P OUTPUT ACCEPT
of course if this is your router than that last line will stop you from viewing anything...my thought is not to use samba shares on a router.
Now this leaves your router open to the outside world!!
you might add
iptables -A INPUT -p tcp --syn -j DROP
at the end.
 
Old 02-05-2003, 12:38 PM   #12
myfurryllama
LQ Newbie
 
Registered: Feb 2003
Posts: 10

Rep: Reputation: 0
I throuhg together a little something to get the beginers going, as am I. This is the easiest way to share something on the network.
http://hellzone.no-ip.com/home/samba.html
I hope it helps!

~Trip
 
Old 02-05-2003, 08:03 PM   #13
tevtango
LQ Newbie
 
Registered: Feb 2002
Posts: 11

Original Poster
Rep: Reputation: 0
FIREWALL, that was the problem,
thanks,
 
Old 04-05-2003, 12:14 PM   #14
Salsero
LQ Newbie
 
Registered: Apr 2003
Posts: 1

Rep: Reputation: 0
Unhappy Samba export

I there

I seem to have the exact same problem, however I know that my firewall is actually down since I shut it down manually. But I'm still getting a 'network path not found'. In my Win2k, I can see the linux computer in the workgroup 'Home_lan' but that's it. Could it be possible that the linux root blocks any connection to my linux box?


Whereis a my smb.conf:

workgroup = Home_lan
server string = Laptop Samba Server
hosts allow = 192.168.2.10.
security = share
encrypt passwords = yes
smb passwd file = /etc/samba/smbpasswd
[webserver]
comment = Network Logon Service
path = /webserver
guest ok = no
writable = yes
share modes = no

***********************

thanks
 
  


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 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 - the network path was not found Harpune Linux - Networking 8 02-10-2003 10:36 PM

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

All times are GMT -5. The time now is 03:08 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