Ubuntu – adding printer, Authentication adding printer username password

19.04networkingprintingsamba

I am adding the printer from the windows network via samba.

All seems fine:
– I can authenticate the access to the domain,
– I can see all the printers there.
– Adding ppa file, which I download from the printer manufacturer website

But I stuck in the last point when I click apply button and see another authentication window which asks just Username and Password (without domain).
enter image description here

I tried everything and nothing works:

  1. Adjust smbd config to have by default the domain name, which I need
  2. {user}@{domain}
  3. {user}/{domain}
  4. {domain}/{user}
  5. {user}

Access to cups server works on localhost:631.

Best Answer

OK, I figure out, that this is the request of a CUPS server authentication, which by default, has a value basic in config. And you have to switch it off by doing the following:

  1. sudo nano /etc/cups/cupsd.conf
  2. change the value DefaultAuthType to None
  3. sudo service cups restart

No authentication required anymore