ipp.c, Deviuce URI and cupsUser

Michael Collin Nielsen michael at hum.aau.dk
Thu Apr 24 06:36:50 PDT 2008


When using the ipp backend the sourcecode seems to allow URI's like:

ipp://user@host/device

The code in ipp.c parses the URI and sets cupsUser to the username suplied in the URI, however as far as I can see, then when creating the request, the requesting-user-name is taken from argv[2] not from cupsUser.
Therefore it is not possible to alter the user using  the URI. Is the the way it is designed to be or is it a bug ?

Regards

-Michael




More information about the cups-devel mailing list