LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Mandriva (https://www.linuxquestions.org/questions/mandriva-30/)
-   -   Samba share accessible to winxp but not mdk 10.1 (https://www.linuxquestions.org/questions/mandriva-30/samba-share-accessible-to-winxp-but-not-mdk-10-1-a-307943/)

joseph_k 03-30-2005 03:55 PM

Samba share accessible to winxp but not mdk 10.1
 
My Mandrakelinux 10.1 server has samba sharing out a directory. I can access the directory from my WinXP computer. My other mdk 10.1 computer cannot see the samba share, though. The command "smbclient -L cp5690" returns "Connection to cp5690 failed." I get the same error when I enter that command on the server.

I don't know where to even start troubleshooting. Can someone give me some direction on this problem?

awdac 03-30-2005 04:03 PM

Try something like:
mount -t smbfs //servername_or_ipaddy/sharename /your/mntpt
on your client machine.

joseph_k 03-30-2005 04:14 PM

Thanks for the reply! Here's what I got:

$ mount -t smbfs //192.168.0.1/data /mnt/data
Error connecting to 192.168.0.1 (Connection refused)
9016: Connection to 192.168.0.1 failed
SMB connection failed

That "connection refused" makes me suspect something like a firewall or samba configuration, but I never specified any ip-specific or machine-specific configuration parameters. Are there some config files that I could post to double check this (I've been using the Mandrakelinux Control Center for the most part)?

awdac 03-30-2005 04:20 PM

Ahh...so it is something with the machine connection. Pretty much anything relevant will be in your smb.conf. I'm not a Mandrake user (never have been), so I don't know exactly where it is, but it should in /etc or /etc/samba or something. You can do 'locate smb.conf' if it's not where you expect it. I would suspect the client machine's firewall (since your other machine can get to the server) or a configuration error as you said. Have you checked your hosts.allow and hosts.deny on the server?

bunnadik 03-31-2005 08:59 AM

Check /etc/samba/smb.conf and make sure you have "hosts allow = 192.168. 127. "

Also do a 'iptables -L INPUT -n | grep -e 137 -e 138 -e 139' and make sure you don't have any
DROP or REJECT hits

- Peder


All times are GMT -5. The time now is 07:58 PM.