[cups] User = lp; Pages= unknown, CUPS 1.7.5

Haines, Brandan BAHaines at cooperstandard.com
Wed Nov 18 08:35:07 PST 2015


Helge:



Thank you for your reply, I am sorry in the delay getting back to you as I was out of the office.



Yes, SAP client is using LPD Protocol (port 515).  The CUPS Server is using xinetd.  Here is our entire /etc/xinetd.d/cups-lpd file:



serername:/etc/xinetd.d # cat cups-lpd

service printer

{

        disable = yes

        socket_type = stream

        protocol = tcp

        wait = no

        user = lp

        group = lp

        passenv =

        server = /usr/lib/cups/daemon/cups-lpd

        server_args = -o document-format=application/octet-stream

}



servername:/etc # cat services | grep 515

printer         515/tcp    # spooler

printer         515/udp    # spooler



All I can say for sure is that on the older version (1.4.6), with the same config, when a job gets created, the user name shows as the person (SAP User) who initiated the print job from the SAP side.  With the newer version (1.7.5) the user is always showing as "lp".



Does that give you enough information or do you require more details?



-Brandan



-----Original Message-----
From: cups-bounces at cups.org [mailto:cups-bounces at cups.org] On Behalf Of Helge Blischke
Sent: Friday, November 06, 2015 12:48
To: The CUPS user discussion list. <cups at cups.org>
Subject: Re: [cups] User = lp; Pages= unknown, CUPS 1.7.5



Brandan,



please tell how your SAP printing is configured (using LPD protocol, I suspect), and, when using the cups-lld daemon, how this is configured (inetd or xinetd configuration for cups-lpd, respectively).

Without this information it is hardly possible to guess what is going on.



Helge



> Am 03.11.2015 um 17:42 schrieb Haines, Brandan <BAHaines at cooperstandard.com<mailto:BAHaines at cooperstandard.com>>:

>

> Michael, et. al.:

>

> Greetings.  I'm hoping someone could point me in the right direction

> on how to trace/troubleshoot some job data in CUPS 1.7.5.  On the old

> version 1.4.6, whenever a job from SAP was created the user showed up

> as the person who created the job and the pages were good.  In 1.7.5,

> I know there was some security changes/configuration file changes

>

> I have:

>

> <snips>

> <Policy Default>

> JobPrivateAccess all

> JobPrivateValues none

> </Policy>

> <Policy Authenticated>

> JobPrivateAccess all

> JobPrivateValues none

> </Policy>

> </spins>

>

> But when the job from SAP is created I see:  User = lp; Size = 40k; Pages = Unknown.

>

> I've been trying to trace/step through this but the end result is really that in CUPS 1.4.6 I see the right user and page count but in CUPS 1.7.5 I don't.

>

> -Brandan

>

>

________________________________
This e-mail message is confidential and is intended only for the person(s) named above. If you have received this message in error, please notify the sender immediately and delete/remove it from your computer system. Any reading, distribution, printing or disclosure of this message is strictly prohibited if you are not the intended recipient of this message. Neither this information block, the typed name of the sender, nor anything else in this message is intended to constitute an electronic signature unless a specific statement to the contrary is included in this message.



More information about the cups mailing list