[cups-devel] CUPS return 401 when using CUPS_ADD_PRINTER ipp operation in 2.2v

Ajaydharan Mohandoss Ajaydharan.Mohandoss at microfocus.com
Wed Aug 31 20:45:47 PDT 2016


Hi

In Cups 2.1, I add a new printer using CUPS_ADD_PRINTER ipp operation which installs the printer automatically. But in CUPS 2.2v, using the same operation returns a 401-Unauthorized http error?

I compared the 2.1 and 2.2v code logs for all cupsd related information. When CUPS process the incoming CUPS_ADD_PRINTER request, earlier version of CUPS used to return "wildcard match" in CupsdFindPolicyOp method along with the default policy but latest version of 2.2v returns "exact match" in CupsdFindPolicyOp method. Due to this, it returns policy type as USER instead of ANONYMOUS.

Can anyone help me what changes have been added in default CUPS policies which makes the above request to return USER policy type instead of ANONYMOUS?

Thanks & Regards
Ajay
 




More information about the cups-devel mailing list