Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

My problem is basically identical to the following:

Put simply, I have a machine in ubuntu trying to connect to another ubuntu machine via a network in order to use the printer attached. There is no problem printing until I restart the guest machine. Immediately it overwrites the printers.conf file (under /etc/cups/printers.conf).
It always adds the same line:

AuthInfoRequired username,password

I stop cups and change it to *#*AuthInfoRequired username,password to comment out the command. Start cups. Works great 'til the next shutdown. Then it gets overwritten again.

Googling indicates it may be GTK problem and not CUPS, but I have found no permanent solution to date.

Any suggestions appreciated ....

share|improve this question

You can do it another way too.

Just put "none" in the end of the AuthInfoRequired. It expects something like that:

AuthInfoRequired none

share|improve this answer

I've added user and password to the smb share, for example, like this:


and it stopped adding this line to printers.conf

If your windows station doesn't require login, just put dummy data:

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.