Author Topic: FC2 samba print problem  (Read 770 times)

savet

  • Member
  • **
  • Posts: 52
  • Kudos: 228
FC2 samba print problem
« on: 13 August 2004, 12:04 »
On my office network, I have a FC2 print server running CUPS.

I have no problem printing to it over the network with Slack 9.1 or FC1.

I'm having trouble with an employee's laptop running FC2.

I am able to print if I completely open up eth0, but I'm unable to print otherwise.  I'm using Samba to print over the network.  Obviously leaving eth0 open is a bad security practice.  Does anyone have advice on how to allow printing vai smb without leaving the computer completely vulnerable?

Thanks for your input.
You're just jealous cause the voices only talk to me...

skyman8081

  • VIP
  • Member
  • ***
  • Posts: 910
  • Kudos: 187
    • http://sauron.game-host.org/
FC2 samba print problem
« Reply #1 on: 13 August 2004, 12:21 »
wait is it an all-linux shop?

samba/smb is really only meant to network windows pc/printers together.

try doing this over IPP

that might fix it.

otherwise it sounds like a problem with iptables/ipchains

you may need to add a rule to it to allow samba access
2 motherfuckers have sigged me so far.  Fuck yeah!


savet

  • Member
  • **
  • Posts: 52
  • Kudos: 228
FC2 samba print problem
« Reply #2 on: 13 August 2004, 13:10 »
Unfortunately, no....there are still a handfull of PCs running Windows XP/2000/98.

I should admit my experience with iptables is very limited.  I tried setting up an ipp network printer from my Slackware laptop, and when I list the server name, it can't find the host.  When I list the IP, it times out saying the server is busy.

Any thoughts?
You're just jealous cause the voices only talk to me...

flap

  • Member
  • **
  • Posts: 1,268
  • Kudos: 137
FC2 samba print problem
« Reply #3 on: 13 August 2004, 15:08 »
Surely if it's on an internal office network it doesn't matter?
"While envisaging the destruction of imperialism, it is necessary to identify its head, which is none other than the United States of America." - Ernesto Che Guevara

http://counterpunch.org
http://globalresearch.ca


mobrien_12

  • VIP
  • Member
  • ***
  • Posts: 2,138
  • Kudos: 711
    • http://www.geocities.com/mobrien_12
FC2 samba print problem
« Reply #4 on: 13 August 2004, 16:01 »
Why do you have to completely open up eth0?

Try printing and check the firewall logs.  See what ports need to be open.
In brightest day, in darkest night, no evil shall escape my sight....

WMD

  • Global Moderator
  • Member
  • ***
  • Posts: 2,525
  • Kudos: 391
    • http://www.dognoodle99.cjb.net
FC2 samba print problem
« Reply #5 on: 13 August 2004, 20:10 »
quote:
Originally posted by flap:
Surely if it's on an internal office network it doesn't matter?


Seconded...you don't need firewalls on every machine.  Just one protecting the internet connection.
My BSOD gallery
"Yes there's nothing wrong with going around being rude and selfish, killing people and fucking married women, but being childish is a cardinal sin around these parts." -Aloone_Jonez

KernelPanic

  • VIP
  • Member
  • ***
  • Posts: 1,878
  • Kudos: 222
FC2 samba print problem
« Reply #6 on: 14 August 2004, 01:38 »
SMB and NMB require ports 137,139,445.

Run it through an SSH tunnel if you are worried about it being open. Or filter it rather than completely opening it.
Contains scenes of mild peril.