Bug 2029 - Cups patch for CAN-2004-0923 breaks smb printing
Cups patch for CAN-2004-0923 breaks smb printing
Product: Samba 3.0
Classification: Unclassified
Component: File Services
All Linux
: P3 major
: none
Assigned To: Gerald (Jerry) Carter
Depends on:
  Show dependency treegraph
Reported: 2004-11-12 05:16 UTC by Martin Pitt
Modified: 2006-04-14 14:52 UTC (History)
0 users

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Martin Pitt 2004-11-12 05:16:51 UTC

A while ago, CUPS was patched to not leak authentication information to log
files and command line arguments of printer spoolers like smbspool. See [1] and
[2] for details. This break SMB printing since "smbspool" prefers argv[0] over
the DEVICE_URI environment variable.

In Ubuntu we have a dirty quickfix right before the release (see above URL)
which just swaps this preference, i. e. evaluate argv[0] only if DEVICE_URI is
not set. However, this should be done in a cleaner way. In particular, smbspool
should normally only use environment variables.

Can you please coordinate with the CUPS developers (using the bugs below) to
find a sane solution? The ubuntu bugzilla contains a patch with our quickfix, so
you can use that in the meantime.

Thanks a lot in advance for considering,


[1] http://www.cups.org/str.php?L920
[2] http://www.cups.org/str.php?L933
Comment 1 Gerald (Jerry) Carter 2005-03-21 19:42:42 UTC
moving back to 3.0
Comment 2 Gerald (Jerry) Carter 2006-04-14 14:52:07 UTC
Hopefully will find time in the future (or get a patch from Michael Sweet).