logo       

Re: lpr User Authentication (undocumented option -U): msg#00316

printing.cups.general

Subject: Re: lpr User Authentication (undocumented option -U)

Christoph Litauer wrote:
>
> Environment:
> cups-1.1.18
> samba-2.2.8a
>
> I recently found that lpr supports an option -U that can be used to
> change the job originating user. As I use an accounting system, that
> causes some difficulties to me ...
> I read about authentication in cups. The only solution I found is to
> modify cupsd.conf so that a username and password is required in the
> /printers-section -- but then it is required for every access to any
> printer: lpr job requiers a password, lpq -Pprinter requires a password
> and so on. I don't think this is very sufficent for our users.
> Assuming I will accept these permanent password inputs: What with samba?
> Are jobs sent to cups via samba authenticated automatically with the
> user and password of the job originating windows user? Escpecially if I
> use a self defined print command?
>
Edit berkeley/lpr.c, delete the -U option from the list of valid
options and recompile.

Basically, this is the same sort of "bug" or "feature" as the faked
sender
names/addresses in mailing systems.

Helge


--
H.Blischke-5dK1KTCurcbQLMG2gba6HQ@xxxxxxxxxxxxxxxx
H.Blischke-5dK1KTCurcY4Q++5jOxPmw@xxxxxxxxxxxxxxxx
H.Blischke-HInyCGIudOg@xxxxxxxxxxxxxxxx


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise