You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If the variable CUPS_SERVER is defined, it is not possible to override its definition by using lp -h {printserver}.
This is caused by a call to _cupsSetDefaults() in the cupsUser() function after the definition of the cups_server by -h. _cupsSetDefaults reset cups_server to the value of CUPS_SERVER without verification of the current value of cups_user.
I will try to propose a potential fix.
The issue is tracked for Ubuntu in the following bug :
This is a proposed patch for the bug described above. It does a verification that the cg->server global is set or not before assigning the value of the CUPS_SERVER environment variable.
I believe that it should also be done for at least cups_encryption and cups_user that are values that can be received from lp's -E and -U switches.
If the proposed patch is acceptable, I would be more than happy to complete the fix for the two other options.
Version: 2.0.1
CUPS.org User: caribou
If the variable CUPS_SERVER is defined, it is not possible to override its definition by using lp -h {printserver}.
This is caused by a call to _cupsSetDefaults() in the cupsUser() function after the definition of the cups_server by -h. _cupsSetDefaults reset cups_server to the value of CUPS_SERVER without verification of the current value of cups_user.
I will try to propose a potential fix.
The issue is tracked for Ubuntu in the following bug :
http://bugs.launchpad.net/bugs/1352809
The text was updated successfully, but these errors were encountered: