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. |
Take a look at this howto:
http://linuxgazette.net/issue72/bright.html You may also be interested in: http://sourceforge.net/projects/pdfcreator |
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....... |
It is probably your firewall settings - post the output of:
iptables -L |
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 |
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 |
It looks like you are using lokkit. Just rereun it and add rules to allow ports:
137/udp 138/udp 139/tcp |
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. |
If you run lokkit you get an option to cusomise your firewall rules and there is a box where you can enter additional ports,
|
All times are GMT -5. The time now is 06:20 PM. |