Printing: Submit full username (including domain prefix)

Andrew Bartlett abartlet at
Thu Feb 22 09:39:16 GMT 2007

On Fri, 2007-02-16 at 17:27 +0100, Karolin Seeger wrote:
> Hi list,
> On Wed, Feb 14, 2007 at 10:12:42PM +1100, Andrew Bartlett wrote:
> > Personally I think these things should get the unix name, but I think
> > there is some history here.  I think it would help where CUPS is then
> > authenticating users to deal with their queue. 
> attached you will find a new version of the fix.
> It adds a new parameter called "printjob username", which defaults to
> standard behaviour (%U). To add the domain prefix "printjob username =
> %D\%U" can be used.
> Is this a proper solution in your opinion?

Isn't there an expansion that expands to the current unix username?

The trouble is partly what name should be displayed when we parse lpq,
but perhaps that's changed since this was originally done.

Andrew Bartlett

Andrew Bartlett                      
Authentication Developer, Samba Team 
Samba Developer, Red Hat Inc.        
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url :

More information about the samba-technical mailing list