Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
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.
01-06-2004, 03:28 AM
#1
LQ Newbie
Registered: Oct 2003
Posts: 29
Rep:
Samba PDF printer
I use Redhat 9.0 at home as a webserver and my home PC, and want to install it as a dual boot at work.
I want it purely so that users can print documents to a share as PDF's from Windows 2000 on a Win 2000 network. Is this possible? What would be the best way to install Redhat 9.0? e.g.
Workstation or Server
Which services to install
How to connect to current 2000 network domain
etc....
I really appreciate your help in this matter.
01-09-2004, 08:59 AM
#2
Moderator
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047
Rep:
01-09-2004, 10:27 AM
#3
LQ Newbie
Registered: Oct 2003
Posts: 29
Original Poster
Rep:
Believe it or not, those were the documents that persuaded me to do this, but I can't get samba to work properly. On my windows machines I can see the Samba Box, But I just can't connect to it "\\Samba is not accessible".
Can anyone offer me an example smb.conf? All I want is for everyone on the network to be able to read/write a single share on my samba machine.
Rock on.......
01-09-2004, 12:47 PM
#4
Moderator
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047
Rep:
It is probably your firewall settings - post the output of:
iptables -L
01-12-2004, 03:46 AM
#5
LQ Newbie
Registered: Oct 2003
Posts: 29
Original Poster
Rep:
David, I have never used iptables before. I disabled it, and the samba share works.
The output of my iptables is below. If you could let me know what I need to do to adjust it suitably I would be most greatfull.
Chain INPUT (policy ACCEPT)
target prot opt source destination
RH-Lokkit-0-50-INPUT all -- anywhere anywhere
Chain FORWARD (policy ACCEPT)
target prot opt source destination
RH-Lokkit-0-50-INPUT all -- anywhere anywhere
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
Chain RH-Lokkit-0-50-INPUT (2 references)
target prot opt source destination
ACCEPT udp -- mhserver3.martinhale.co.uk anywhere udp spt:domain dpts:1025:65535
ACCEPT udp -- anywhere anywhere udp spts:bootps:bootpc dpts:bootps:bootpc
ACCEPT udp -- anywhere anywhere udp spts:bootps:bootpc dpts:bootps:bootpc
ACCEPT all -- anywhere anywhere
REJECT tcp -- anywhere anywhere tcp dpts:0:1023 flags:SYN,RST,ACK/SYN reject-with icmp-port-unreachable
REJECT tcp -- anywhere anywhere tcp dpt:nfs flags:SYN,RST,ACK/SYN reject-with icmp-port-unreachable
REJECT udp -- anywhere anywhere udp dpts:0:1023 reject-with icmp-port-unreachable
REJECT udp -- anywhere anywhere udp dpt:nfs reject-with icmp-port-unreachable
REJECT tcp -- anywhere anywhere tcp dpts:x11:6009 flags:SYN,RST,ACK/SYN reject-with icmp-port-unreachable
REJECT tcp -- anywhere anywhere tcp dpt:xfs flags:SYN,RST,ACK/SYN reject-with icmp-port-unreachable
Thanks
01-12-2004, 05:04 AM
#6
LQ Newbie
Registered: Oct 2003
Posts: 29
Original Poster
Rep:
David, Sorry, I realise that the above is just the standard iptables that are set up when it is off. The below is the table when it is on:
Chain INPUT (policy ACCEPT)
target prot opt source destination
RH-Lokkit-0-50-INPUT all -- anywhere anywhere
Chain FORWARD (policy ACCEPT)
target prot opt source destination
RH-Lokkit-0-50-INPUT all -- anywhere anywhere
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
Chain RH-Lokkit-0-50-INPUT (2 references)
target prot opt source destination
ACCEPT udp -- anywhere anywhere udp spts:bootps:bootpc dpts:bootps:bootpc
ACCEPT udp -- anywhere anywhere udp spts:bootps:bootpc dpts:bootps:bootpc
ACCEPT all -- anywhere anywhere
REJECT tcp -- anywhere anywhere tcp dpts:0:1023 flags:SYN,RST,ACK/SYN reject-with icmp-port-unreachable
REJECT tcp -- anywhere anywhere tcp dpt:nfs flags:SYN,RST,ACK/SYN reject-with icmp-port-unreachable
REJECT udp -- anywhere anywhere udp dpts:0:1023 reject-with icmp-port-unreachable
REJECT udp -- anywhere anywhere udp dpt:nfs reject-with icmp-port-unreachable
REJECT tcp -- anywhere anywhere tcp dpts:x11:6009 flags:SYN,RST,ACK/SYN reject-with icmp-port-unreachable
REJECT tcp -- anywhere anywhere tcp dpt:xfs flags:SYN,RST,ACK/SYN reject-with icmp-port-unreachable
01-12-2004, 12:22 PM
#7
Moderator
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047
Rep:
It looks like you are using lokkit. Just rereun it and add rules to allow ports:
137/udp
138/udp
139/tcp
01-13-2004, 03:05 AM
#8
LQ Newbie
Registered: Oct 2003
Posts: 29
Original Poster
Rep:
And I do that how?
Sorry, I did mention I have never used iptables before. Beyond starting and stopping it, I have no idea.
Thanks very much for you help so far.
01-13-2004, 12:26 PM
#9
Moderator
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047
Rep:
If you run lokkit you get an option to cusomise your firewall rules and there is a box where you can enter additional ports,
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 01:47 AM .
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