LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook
User Name
Password
Linux - Laptop and Netbook Having a problem installing or configuring Linux on your laptop? Need help running Linux on your netbook? This forum is for you. This forum is for any topics relating to Linux and either traditional laptops or netbooks (such as the Asus EEE PC, Everex CloudBook or MSI Wind).

Notices


Reply
  Search this Thread
Old 03-17-2009, 05:26 AM   #1
amit_kalipur
Member
 
Registered: Dec 2008
Location: Delhi 91
Distribution: RHEL 5
Posts: 74
Blog Entries: 2

Rep: Reputation: 15
accessing samba server.


Dear all,
I am using VMware workstation on windows xp sp 2.I installed RHEL5 on it.It is working fine but the problem is that,when i configured it as samba server and when i access the same through host windows,It dispalys error "network path is not found".There is no pinging problem.It is pinging well with host windows.I also installed guest windows on vmware workstation.It also pinging well but when i try to access samba server,it shows the same error. Please help me.
Thanks.
 
Old 03-19-2009, 07:45 AM   #2
allend
LQ 5k Club
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware64-15.0
Posts: 6,371

Rep: Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749
Check your firewall.
Samba needs ports 137 and 138 open for udp packets as well as ports 139 and 445 open for tcp packets.
For 'smbclient -L \\server' to respond, you will also want to accept udp packets sourced from port 137.
Code:
$IPTABLES -A INPUT -i $EXTIF -s 10.1.1.1/27 -p udp --sport 137 -j ACCEPT
$IPTABLES -A INPUT -i $EXTIF -s 10.1.1.1/27 -p udp --dport 137 -j ACCEPT
$IPTABLES -A INPUT -i $EXTIF -s 10.1.1.1/27 -p udp --dport 138 -j ACCEPT
$IPTABLES -A INPUT -i $EXTIF -s 10.1.1.1/27 -p tcp --dport 139 -j ACCEPT
$IPTABLES -A INPUT -i $EXTIF -s 10.1.1.1/27 -p tcp --dport 445 -j ACCEPT
The above are the lines from my firewall script that allow connections to my Samba server from my local 10.1.1 network.

Edit: Just saw your other post. It looks as though the firewall may not be the issue. Have you created a linux user AND Samba user with the same user name as that being used on your Windows clients?

Last edited by allend; 03-19-2009 at 07:50 AM.
 
  


Reply



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
Problem accessing Windows SQL server from Red Hat Web Server mariap Linux - General 0 12-28-2008 05:46 PM
Linux client accessing Samba Server waljure Linux - Networking 4 06-25-2005 07:20 PM
error accessing samba server from smb client MichaelVaughn Linux - Software 1 04-30-2004 01:01 PM
Accessing Linux from Windows thru Samba Server jeys Linux - Software 1 01-17-2003 03:43 AM
Accessing samba server from windowsXP jayakrishnan Linux - Networking 1 02-26-2002 04:29 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook

All times are GMT -5. The time now is 08:39 PM.

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
Open Source Consulting | Domain Registration