[cups.general] Hostname As Source of User Field

Jerome Alet alet at librelogiciel.com
Fri May 4 08:35:38 PDT 2007


On Fri, May 04, 2007 at 11:22:07AM -0400, Pete C wrote:
> By default CUPS uses the IPP requesting-user-name field when 
> logging details about which user sent the job.  This is unreliable 
> for my organisation as users have their own laptops with their own 
> choice of username.  However, the username is reliably in the 
> DNS-resolved host name. 
> 
> Is it possible (without compiling a bespoke version) to get CUPS 
> to use the host name for the user field rather than the username 
> specified by the user? 

Depending on what you are interested in, either printing allowed 
only from authorized sources (usernames as taken from hostname), or 
reliable accounting (based on hostname as username), you may be able 
to obtain the desired result with the help of some third party
utilities from http://www.pykota.com, either Tea4CUPS or PyKota,
depending on your exact needs and the setup time you want to spend
on this.

hth

Jerome Alet





More information about the cups mailing list