-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 At some point hitherto, David Kramer hath spake thusly: > Once again the original problem with CUPS appears to have been that I > installed LPRgn also, and the install program neither warned me or gave me > some indicaiton how to resolve the ensuing mess. IIRC, both try to emulate lpr; conflicts are inevitable. In general, having more than one printing system installed on a system is a bad idea... In all likelihood, problems will arise... > After fixing that, I see > [2002/09/16 13:47:03, 0] printing/printing.c:print_job_start(951) > print_job_start: insufficient permissions to open spool file > /var/spool/cups/smbprn.000008.igz82I. It sounds like the user samba is running as (which, I think, would be the user who is trying to print) can not write to the spool directory. Is it writable? Is it writable by the (right) user(s)? > Someone told me there was a serious bug in Samba such that it could > not resolve -P %p in the print command line, and that I should > replace it with /dev/lp0, but I still got the same error on Windows. Uh, I'm pretty sure I've used the macro before with no problems... > [2002/09/16 13:17:10, 0] libsmb/nmblib.c:send_udp(755) > Packet send failed to 66.92.68.255(138) ERRNO=Operation not permitted > > It seems that it's trying to broadcast on my external IP address instead > of 192.168.1.255. Where would I set that? http://us1.samba.org/samba/docs/man/smb.conf.5.html#BINDINTERFACESONLY But more importantly, if this thing is connected to the Internet, you should really block both incoming and outgoing traffic via either a gateway firewall, or host-based firewall (ipchains/iptables). > Does anyone think this would be easier if I uninstalled LPRng and > printconf? Yes. Or, it may not be easier, but it would likely eliminate a possible complication. And if you do this, you may find that you then need to re-install cups, if there were any conflicting files (symlinks, etc.) which were installed by LPRng. > Does anyone think I should give up and go back to LPRng, which I had > working on my old server? Well, LPRng is (IME) renowned for being over-complicated. CUPS, OTOH, is (again, IME) renowned for being fairly easy to set up and use, and much more featureful... I have not used CUPS, and I've only limited experience with LPRng from quite a while ago; so I can't speka first hand as to which you should use. - -- Derek Martin ddm@pizzashack.org - --------------------------------------------- I prefer mail encrypted with PGP/GPG! GnuPG Key ID: 0x81CFE75D Retrieve my public key at http://pgp.mit.edu Learn more about it at http://www.gnupg.org -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE9hsDudjdlQoHP510RAlbKAJ4l9BCac5RY+O9D2oaukfttS2fTegCgtxag KKog1/W8bfVm2RUMu5bbUDI= =As/8 -----END PGP SIGNATURE-----