LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices



Reply
 
Search this Thread
Old 03-30-2005, 04:55 PM   #1
joseph_k
Member
 
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, 05:03 PM   #2
awdac
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 05:04 PM.
 
Old 03-30-2005, 05:14 PM   #3
joseph_k
Member
 
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 //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)?
 
Old 03-30-2005, 05:20 PM   #4
awdac
LQ Newbie
 
Registered: Mar 2005
Posts: 21

Rep: Reputation: 15
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?
 
Old 03-31-2005, 09:59 AM   #5
bunnadik
Member
 
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
DROP or REJECT hits

- Peder
 
  


Reply


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 01:08 PM
Samba share not accessible Quercus Linux - Software 2 12-07-2003 09:43 AM
winxp can't access my samba share?? andrewlkho Linux - Software 2 08-29-2003 06:00 PM
Samba print share from RH9 to WinXP nick_uk Linux - Software 0 07-30-2003 10:19 AM
WinXP samba share - permissions? armstrj Linux - General 0 04-08-2002 04:40 AM


All times are GMT -5. The time now is 12:35 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration