LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   samba - the network path was not found (https://www.linuxquestions.org/questions/linux-networking-3/samba-the-network-path-was-not-found-44715/)

Harpune 02-09-2003 03:59 PM

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

trickykid 02-09-2003 05:45 PM

Moved: More suitable in the Networking forum.

RonS 02-10-2003 01:05 AM

Are you sure the firewall is open? Try disabling it entirely ... just for a test.

born4linux 02-10-2003 02:06 AM

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.

Harpune 02-10-2003 01:35 PM

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,

antken 02-10-2003 01:38 PM

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

Harpune 02-10-2003 06:23 PM

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,

jamrock 02-10-2003 09:44 PM

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.

Harpune 02-10-2003 10:36 PM

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,


All times are GMT -5. The time now is 12:29 PM.