I am having a similar problem. Cups has been working here without issue since I built the PC over a year ago, but suddenly printing has stopped. I tracked the problem down to a change in IP address assigned to the printer, so I changed the settings in my router to assign a static IP, and I can see that the printer is indeed being given this IP address. However, since the old one was im the middle of the dynamic assign range, I want to change the IP address assigned to the printer in cups, so if can find the printer again. However, when I try to do this, after logging in as root, I am getting the forbidden error.
Here are my system details:
- cups-2.4.2-r1
- cups-filters-1.28.15
- Printer is a network printer - Brother HL-L8260CDW. Prints using IPP
- unmodified config file
- My user is in the lp and lpadmin groups
I tried rolling back to the earlier version available in portage - 2.3.3_p2-r3, but no change. Interesting I did this by un-merging 2.4.2, deleting /usr/cups and then installing 2.3.3_p2-r3, but my printers were still known by the system after restarting cupsd. The "forbidden" message comes from any action to change details, including deleting /cancelling a job.
Any tips would be useful!
TIA
I have resolved my issue. It seems that although previously it wasn't necessary, using root to make changes does require root to be in the lpadmin group. This might have been a change in the latest release, but to be honest I have had no need to change any printer properties or manage any jobs recently so it could be older. I am not sure where this is set in the configuration file.
Of course, what I hadn't previously considered, but should have - I shouldn't be using root anyway, since the user account can make the necessary changes. Logging as my user account with no changes to the current group status demonstrated this.