Ubuntu – Printer share keeps asking for password and I can’t authenticate from any machine. Why


Ubuntu 12.04 printer share keeps asking for password and I can't authenticate from any machine. Why??
We've installed it in two machine (to act as printer servers) and we get the same problem.

It doesn't matter what we do, change or install. We can't figure out why the printer share asks for password even using all of the users that are registered in the server.

What is wrong with Precise? I want it to work without a password, but it is not even working WITH one!

I gave up! The samba version that comes with Precise is insufferable! I tried various settings that didn't work. I should've used Mint from the beginning.

[Edit] My printers config. Remembering that samba is 3.6.3 in ubuntu 12.04

load printers = yes
comment = All Printers
browseable = yes
path = /var/spool/samba
printable = yes
guest ok = yes
readonly = yes
create mask = 0700

comment = Printer Drivers
path = /var/lib/samba/printers
browseable = yes
readonly = yes
guest ok = yes

Best Answer

  • I have rarely had luck configuring a CIFS-reachable printer within Ubuntu. I've done it, but I don't do it every day: it's possible, with subtleties.

    However, I've been able to share printers via http and https routes. The quick description of this method:

        [US] (= Ubuntu "Server")    example IP =
        [WC] (= Windows "Client")
    1. On [US], install a printer, ensuring that it is "Shared" via the GUI (e.g. the system-config-printer interface) or manipulation of /etc/cups/ files.

    2. On [WC], use a web browser and point to CUPS on [US].


      This should show you the web interface provided by CUPS. "CUPS is the standards-based, open source printing system ..." This also serves as a test to make sure that the machines can even talk, and that you don't have a more basic problem (e.g. firewall) to solve.

    3. The upper-right tab on this web page is a link to the Printers list.

    4. Right-click-and-copy the URL to the printer in question, and you can paste that into the Windows "Add Printer Wizard" interface for a network printer.

    As asked, this should solve the authentication issue by bypassing Samba (CIFS). However, note that this method allows anyone on your local network to print to the shared printer, and it relies on a stable network IP address for [US].

    It is also possible to restrict through authentication who can print, but that is for a different question.