Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.


  Search this Thread
Old 03-30-2005, 03:55 PM   #1
Registered: Aug 2001
Location: North Dakota (USA)
Distribution: Ubuntu
Posts: 43

Rep: Reputation: 15
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?
Old 03-30-2005, 04:03 PM   #2
LQ Newbie
Registered: Mar 2005
Posts: 21

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

Last edited by awdac; 03-30-2005 at 04:04 PM.
Old 03-30-2005, 04:14 PM   #3
Registered: Aug 2001
Location: North Dakota (USA)
Distribution: Ubuntu
Posts: 43

Original Poster
Rep: Reputation: 15
Thanks for the reply! Here's what I got:

$ mount -t smbfs // /mnt/data
Error connecting to (Connection refused)
9016: Connection to 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)?
Old 03-30-2005, 04:20 PM   #4
LQ Newbie
Registered: Mar 2005
Posts: 21

Rep: Reputation: 15 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?
Old 03-31-2005, 08:59 AM   #5
Registered: Jan 2005
Location: Ívik, Sweden
Distribution: MDK 10.1
Posts: 450

Rep: Reputation: 30
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

- Peder


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
Acccess Samba-3 Share on WinXP jsun9 Linux - Software 9 07-21-2004 12:08 PM
Samba share not accessible Quercus Linux - Software 2 12-07-2003 08:43 AM
winxp can't access my samba share?? andrewlkho Linux - Software 2 08-29-2003 05:00 PM
Samba print share from RH9 to WinXP nick_uk Linux - Software 0 07-30-2003 09:19 AM
WinXP samba share - permissions? armstrj Linux - General 0 04-08-2002 03:40 AM > Forums > Linux Forums > Linux - Distributions > Mandriva

All times are GMT -5. The time now is 05:21 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration