LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 01-06-2004, 03:28 AM   #1
AdamPengelly
LQ Newbie
 
Registered: Oct 2003
Posts: 29

Rep: Reputation: 15
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.
 
Old 01-09-2004, 08:59 AM   #2
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
Take a look at this howto:
http://linuxgazette.net/issue72/bright.html

You may also be interested in:
http://sourceforge.net/projects/pdfcreator
 
Old 01-09-2004, 10:27 AM   #3
AdamPengelly
LQ Newbie
 
Registered: Oct 2003
Posts: 29

Original Poster
Rep: Reputation: 15
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.......
 
Old 01-09-2004, 12:47 PM   #4
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
It is probably your firewall settings - post the output of:
iptables -L
 
Old 01-12-2004, 03:46 AM   #5
AdamPengelly
LQ Newbie
 
Registered: Oct 2003
Posts: 29

Original Poster
Rep: Reputation: 15
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
 
Old 01-12-2004, 05:04 AM   #6
AdamPengelly
LQ Newbie
 
Registered: Oct 2003
Posts: 29

Original Poster
Rep: Reputation: 15
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
 
Old 01-12-2004, 12:22 PM   #7
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
It looks like you are using lokkit. Just rereun it and add rules to allow ports:
137/udp
138/udp
139/tcp
 
Old 01-13-2004, 03:05 AM   #8
AdamPengelly
LQ Newbie
 
Registered: Oct 2003
Posts: 29

Original Poster
Rep: Reputation: 15
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.
 
Old 01-13-2004, 12:26 PM   #9
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
If you run lokkit you get an option to cusomise your firewall rules and there is a box where you can enter additional ports,
 
  


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
Cups Pdf Printer Setup -- Samba treedstang Linux - General 0 07-03-2004 05:46 PM
Samba problem- pdf printer won't work! linux-addict Linux - Networking 3 04-06-2004 01:28 AM
SAMBA PDF Printer Setting heero82 Linux - Software 0 07-18-2003 04:00 AM
Using Samba Printer to create PDF - Dokuments saavik Linux - Networking 0 04-04-2003 12:59 AM
samba printer share making PDF - Docs out of any print saavik Linux - Software 0 02-27-2003 11:07 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 01:28 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
Open Source Consulting | Domain Registration