[Pkg-cups-devel] Bug#502555: Bug#501719: cups-pdf: doesn't play well with NetWare shares

Luca Capello luca at pca.it
Mon Oct 27 18:08:17 UTC 2008


tags 502555 + patch
thanks

Hi Martin-Éric!

On Sun, 19 Oct 2008 23:48:51 +0200, Luca Capello wrote:
> On Sun, 19 Oct 2008 23:06:28 +0200, Luca Capello wrote:
>> Since there's an AnonUser variable, not only an AnonDirName one, I'd
>> expect that when the AnonUser is no more anonymous (because you assign a
>> real user), then the AnonDirName will act accordingly, thus becoming the
>> real user's one.
>>
>> While I agree that having two separated variables give more flexibility,
>> this is per se a bug, since it's not documented.
>
> These comments stand, feel free to downgrade the severity to wishlist.

Here two simple patches:

--8<---------------cut here---------------start------------->8---
--- cups-pdf-2.4.8/extra/cups-pdf.conf.~1~	2008-06-22 13:32:22.000000000 +0200
+++ cups-pdf-2.4.8/extra/cups-pdf.conf	2008-10-27 19:02:05.000000000 +0100
@@ -45,6 +45,8 @@
 ### Key: AnonDirName
 ##  ABSOLUTE path for anonymously created PDF files
 ##  if anonymous access is disabled this setting has no effect
+##  This variable is in no way related to AnonUser below, since setting
+##  the latter to a real user has no effect on AnonDirName
 ### Default: /var/spool/cups-pdf/ANONYMOUS
 
 #AnonDirName /var/spool/cups-pdf/ANONYMOUS
@@ -103,6 +105,8 @@
 ### Key: AnonUser
 ##  user for anonymous PDF creation (this might be a security issue)
 ##  set this to an empty value to disable anonymous
+##  This variable is in no way related to AnonDirName above, since setting
+##  this one to a real user has no effect on AnonDirName
 ### Default: nobody
 
 #AnonUser nobody
--8<---------------cut here---------------end--------------->8---

--8<---------------cut here---------------start------------->8---
--- cups-pdf-2.4.8/README.~1~	2008-06-22 13:41:29.000000000 +0200
+++ cups-pdf-2.4.8/README	2008-10-27 19:07:21.000000000 +0100
@@ -50,6 +50,10 @@
    *if you are using SELinux make sure it does not interfere with CUPS-PDF
     (you can disable SELinux for CUPS by "setsebool -P cupsd_disable_trans 1"
      or have a look at contrib/SELinux-HOWTO to make it work)
+   *when AnonUser is set to a real user, AnonDirName is in no way affected.
+    The reason for this is to give flexibility to the administrator.  This
+    was discussed in the Debian bug #502555 (http://bugs.debian.org/502555).
+
 
    Now after restarting CUPS you will be able to choose "Virtual Printer (PDF
    Printer)" when setting up a new printer in CUPS.
--8<---------------cut here---------------end--------------->8---

Thx, bye,
Gismo / Luca
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 314 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/pkg-cups-devel/attachments/20081027/ddba2856/attachment.pgp 


More information about the Pkg-cups-devel mailing list