LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Samba/FC9/XP - Network path not found (https://www.linuxquestions.org/questions/linux-networking-3/samba-fc9-xp-network-path-not-found-704278/)

samweber 02-12-2009 04:50 PM

Samba/FC9/XP - Network path not found
 
Fedora core 9
XP
Samba (yum install)

Stupid simple smb.conf

[global]
workgroup = SPLARF
encrypt passwords = no
[appliance]
comment = My Home Directories
path = /home/sweber/appliance
browseable = yes
writable = yes
valid users = sweber

Problem: Attempting to see the share via clicking on the computer icon OR using "net view \\<server name>" return a similar "Network path not found message".

What it's not:

- User name and password on the PC and Linux box are identical, including case.
- Registry hack to defeat password encryption has been done on the XP box (doesn't work with encrypted passwords either).
- Linux box is running nmbd and smbd.
- NetBios is enabled on the Windows box.
- Machines are on the same subnet. Linux box can be pinged from XP box.

theNbomr 02-12-2009 05:46 PM

Tried disabling or appropriately reconfiguring (somehow...) SElinux? Firewall?
--- rod.

samweber 02-13-2009 08:46 AM

Quote:

Originally Posted by theNbomr (Post 3441627)
Tried disabling or appropriately reconfiguring (somehow...) SElinux? Firewall?
--- rod.

I did think of that but forget to mention it in my description. The firewall is turned off on the Linux box. I used the command "/usr/sbin/setenforce 0" to temporarily whatever disable whatever SElinux might be ruining. No joy.

Another thing I forgot to mention is that I used "smbpasswd -a" to add myself as an smbuser. Before that, "smbclient -L" would reject my user password. I don't remember having to do that in previous installations of earlier versions of Samba. Guess it wasn't hard enough to get working before.

vlademir 02-13-2009 09:16 AM

Quote:

Originally Posted by samweber (Post 3441573)
Fedora core 9
XP
Samba (yum install)

Stupid simple smb.conf

[global]
workgroup = SPLARF
encrypt passwords = no
[appliance]
comment = My Home Directories
path = /home/sweber/appliance
browseable = yes
writable = yes
valid users = sweber

Problem: Attempting to see the share via clicking on the computer icon OR using "net view \\<server name>" return a similar "Network path not found message".

What it's not:

- User name and password on the PC and Linux box are identical, including case.
- Registry hack to defeat password encryption has been done on the XP box (doesn't work with encrypted passwords either).
- Linux box is running nmbd and smbd.
- NetBios is enabled on the Windows box.
- Machines are on the same subnet. Linux box can be pinged from XP box.

If you have a router check if the port of samba is open on your router.

samweber 02-13-2009 10:55 AM

Quote:

Originally Posted by vlademir (Post 3442360)
If you have a router check if the port of samba is open on your router.

No router involved. Same subnet. Here's the output of /sbin/iptables:

Chain INPUT (policy ACCEPT)
target prot opt source destination
ACCEPT all -- anywhere anywhere state RELATED,ESTABLISHED
ACCEPT icmp -- anywhere anywhere
ACCEPT all -- anywhere anywhere
ACCEPT tcp -- anywhere anywhere state NEW tcp dpt:ssh
REJECT all -- anywhere anywhere reject-with icmp-host-prohibited

Chain FORWARD (policy ACCEPT)
target prot opt source destination
REJECT all -- anywhere anywhere reject-with icmp-host-prohibited

Chain OUTPUT (policy ACCEPT)
target prot opt source destination


Looks pretty wide open to me.


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