| Linux - Server This forum is for the discussion of Linux Software used in a server related context. |
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
01-24-2008, 09:22 AM
|
#1
|
|
Member
Registered: Mar 2005
Distribution: FC, Gentoo
Posts: 276
Rep:
|
samba drive not accessible unless iptables is stopped
iptables is disabled at my Fedora core 6 linux PC by these commands to check:
# system-config-securitylevel
# ps -ef|grep iptable
root 3170 2926 0 10:15 pts/2 00:00:00 grep iptable
However, my windows PC cannot access a linux drive through samba unless iptables is stopped on the linux PC.
Why?
What is the best way to allow samba disk access without stopping iptables?
# service iptables stop
Flushing firewall rules: [ OK ]
Setting chains to policy ACCEPT: filter [ OK ]
Unloading iptables modules: [ OK ]
|
|
|
|
01-24-2008, 09:39 AM
|
#2
|
|
Member
Registered: Sep 2006
Location: Munich, Germany
Distribution: Debian / Ubuntu
Posts: 292
Rep:
|
Googling samba firewall reveals it all.
|
|
|
|
01-24-2008, 10:12 AM
|
#3
|
|
Moderator
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733
|
In the samba configuration wizard, or system-config-security, there should be a check box to open the ports for samba.
|
|
|
|
01-24-2008, 04:57 PM
|
#4
|
|
Member
Registered: Mar 2005
Distribution: FC, Gentoo
Posts: 276
Original Poster
Rep:
|
A related question, the iptables service is already disabled, so why it still block samba?
i.e. Why it need to be stopped?
|
|
|
|
01-30-2008, 05:54 PM
|
#5
|
|
Moderator
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733
|
Check the firewall settings on both computers.
Also make sure all of the samba services are running.
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 12:41 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|