--- Begin Message ---
- To: Debian Bug Tracking System <submit@bugs.debian.org>
- Subject: kdeprint: access permission problem accessing a local cups server
- From: Gunter Ohrner <G.Ohrner@post.rwth-aachen.de>
- Date: Fri, 09 May 2003 18:26:56 +0200
- Message-id: <E19EAi0-00049r-00@UnseenUniversity.Scheibenwelt>
Package: kdeprint
Version: 4:3.1.1-1
Severity: normal
Hi!
One problem I noticed with KDEs print subsystem and CUPS:
CUPS by default is configured to only allow access from localhost which
is a sane thing to do. KDE, however, quite often tries to access the
CUPS daemon using one of the the hosts external IP addresses, so the
requests are originating from "Hostname" instead of localhost, even
though the CUPS server is configured as localhost in the KDE printer
configuration dialog. As CUPS' (correctly) blocks these accesses, KDE
has no access to the printers ppd files and eg. the "Driver Settings" tab
will not show up in KDEs print dialog and an "IPP" report in the printer
configuration module is not possible, failing with an error message
("unknown error").
D [09/May/2003:18:00:30 +0200] AcceptClient() 13 from
UnseenUniversity:631.
D [09/May/2003:18:00:30 +0200] ReadClient() 13 GET /printers/stc640.ppd
HTTP/1.1
D [09/May/2003:18:00:30 +0200] SendError() 13 code=403
A possible workaround is to add the hosts external ips to CUPS'
cupsd.conf in "Allowed From" clauses in sections KDE should be able to
access. (Note that you NEED to use the ip and not the hostname, else
CUPS still won't accept connections. However this is a seperate problem
and I'll file an additional bug if it is not already present.)
Greetings,
Gunter
PS:
ii cupsys 1.1.19candidat Common UNIX Printing System(tm) -
server
-- System Information
Debian Release: 3.0
Architecture: i386
Kernel: Linux UnseenUniversity 2.4.20 #1 SMP Tue Apr 15 10:06:21 CEST 2003 i686
Locale: LANG=de_DE@euro, LC_CTYPE=de_DE@euro
Versions of packages kdeprint depends on:
ii enscript 1.6.3-1.1 Converts ASCII text to Postscript,
ii gv 1:3.5.8-26.1 A PostScript and PDF viewer for X
ii kdelibs4 4:3.1.1-1 KDE core libraries
ii libart-2.0-2 2.3.11-3 Library of functions for 2D graphi
ii libc6 2.3.1-16 GNU C Library: Shared libraries an
ii libfam0c102 2.6.9-4 client library to control the FAM
ii libgcc1 1:3.3-0pre8 GCC support library
ii libpng12-0 1.2.5-10 PNG library - runtime
ii libqt3c102-mt 3:3.1.1-7 Qt GUI Library (Threaded runtime v
ii libstdc++5 1:3.3-0pre8 The GNU Standard C++ Library v3
ii poster 19990428-6 make big posters out of PostScript
ii psutils 1.17-15 A collection of PostScript documen
ii xlibs 4.3.0-0ds2 X Window System client libraries
ii zlib1g 1:1.1.4-1 compression library - runtime
--- End Message ---