Friday, May 3, 2024
 Popular · Latest · Hot · Upcoming
1
rated 0 times [  1] [ 0]  / answers: 1 / hits: 9200  / 2 Years ago, sun, july 24, 2022, 1:18:04

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
[printers]
comment = All Printers
browseable = yes
path = /var/spool/samba
printable = yes
guest ok = yes
readonly = yes
create mask = 0700

[print$]
comment = Printer Drivers
path = /var/lib/samba/printers
browseable = yes
readonly = yes
guest ok = yes

More From » printing

 Answers
1

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 = 10.0.0.1
[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].



    e.g. http://10.0.0.1:631/



    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.


[#38648] Tuesday, July 26, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
zombieptu

Total Points: 490
Total Questions: 121
Total Answers: 108

Location: Nepal
Member since Mon, Jan 4, 2021
3 Years ago
zombieptu questions
Sat, Feb 18, 23, 20:00, 1 Year ago
Sun, Feb 27, 22, 02:41, 2 Years ago
Sat, Oct 30, 21, 00:00, 3 Years ago
;