google / cloud-print-connector

Google Cloud Print Connector
BSD 3-Clause "New" or "Revised" License
764 stars 184 forks source link

Shared printers are unshared if I update printer through CUPS #456

Open bdowner2 opened 5 years ago

bdowner2 commented 5 years ago

Server: Ubuntu 18.04 LTS Printers are installed using the CUPS lpadmin command. The connector detects the printer and shows up in the Cloud Print Manager. At this point I will share out the printer to the users. Everything will work fine until the printer is updated in CUPS. For example if we use the lpadmin commend again to add or change a location. I believes CUPS recreates the printer. This action I believe follows through the Connector and recreates the Cloud Printer.
All the users who had the printer shared now no longer have the printer and the on the management side the printer is not being shared with anyone.

If my assumptions are correct in whats causing this, then it's not so much an error as it is an undesirable behavior. If an existing Cloud printer is recreated with the same name we really need to to have the same shred users. We have about 300 printers in our organization and we cant keep re-sharing printers to everyone.