Compdigitec Labs

« | Home | »

Fixing “/usr/lib/cups/backend/smb failed” error in Ubuntu

By admin | January 16, 2010

CUPS server showing error

CUPS server showing error

The new setups for printing has been modernized in Ubuntu 9.10 and 9.04 work perfectly most of the time, but sometimes a misbehaving script or update decides to have its own mind and messes up all the permissions for CUPS to work properly. Here is a guide to restore the former printing versatility before the mess-up.

To fix the permission errors:

sudo chown root -hR /usr/lib/cups/backend
sudo chmod 755 -hR /usr/lib/cups/backend
sudo aa-complain cupsd
sudo chmod a+x /usr/lib/cups/backend/smb
sudo chmod a+x /usr/lib/cups/backend

Also make sure your Windows printer is actually accessible in order to prevent further access issues. In addition, to access the CUPS web interface just navigate to http://127.0.0.1:631/. When it asks for your password, use your Linux login.

If you found this article helpful or interesting, please help Compdigitec spread the word. Don’t forget to subscribe to Compdigitec Labs for more useful and interesting articles!

Topics: Linux | 15 Comments »

15 Responses to “Fixing “/usr/lib/cups/backend/smb failed” error in Ubuntu”

  1. Ken Lyons Says:
    April 27th, 2010 at 10:56

    Thank you so much, my printer was down for 3 days after I added CUPS-PDF, and now I realize that while I was getting it to work (and needing permissions things), that it broke SMB.

    I cut and pasted, made a script and now the ‘Windows Printer via SAMBA’ option has returned.

    Thanks again, your a life saver.

  2. 0x4a6f4672 Says:
    April 28th, 2010 at 05:15

    Yes, same problem here. Your solution worked. Thanks.

  3. Guillermo Says:
    June 17th, 2010 at 09:13

    Thank you very much!!!! It solved instantly my smb printing config problem.

  4. Chris Says:
    March 19th, 2012 at 16:46

    I’ve had 64 bit Kubuntu 10.041LTS installed on my laptop for over a year and could never connect to my samba network printer. My Fedora desktop always worked fine. Your permission fix resolved the problem. Thank you very much! It’s too bad it took me so long to find your web site.

  5. Authentication issue with CUPS 5.3.1 on SMB Printer - UbuntuHub Says:
    March 12th, 2016 at 03:01

    […] I am doing this on a clean install of Ubuntu 12.04, CUPS version 1.5.3. I have tried changing some rights relating to apparmor, with no success as described here: http://www.compdigitec.com/labs/2010/01/16/fixing-usrlibcupsbackendsmb-failed-error-in-ubuntu/ […]

  6. เว็บปั้มไลค์ Says:
    June 27th, 2024 at 20:40

    … [Trackback]

    […] Find More Info here to that Topic: compdigitec.com/labs/2010/01/16/fixing-usrlibcupsbackendsmb-failed-error-in-ubuntu/ […]

  7. harem77 Says:
    June 28th, 2024 at 19:59

    … [Trackback]

    […] There you will find 92138 more Information to that Topic: compdigitec.com/labs/2010/01/16/fixing-usrlibcupsbackendsmb-failed-error-in-ubuntu/ […]

  8. คลินิกปลูกผม Says:
    July 17th, 2024 at 01:09

    … [Trackback]

    […] Here you will find 93025 more Information on that Topic: compdigitec.com/labs/2010/01/16/fixing-usrlibcupsbackendsmb-failed-error-in-ubuntu/ […]

  9. pakkumised ja teenused Says:
    July 25th, 2024 at 07:42

    … [Trackback]

    […] There you will find 95046 additional Information to that Topic: compdigitec.com/labs/2010/01/16/fixing-usrlibcupsbackendsmb-failed-error-in-ubuntu/ […]

  10. useless Tor sites Says:
    August 19th, 2024 at 12:08

    … [Trackback]

    […] Read More Info here to that Topic: compdigitec.com/labs/2010/01/16/fixing-usrlibcupsbackendsmb-failed-error-in-ubuntu/ […]

  11. เรียนต่อออสเตรเลีย Says:
    September 2nd, 2024 at 20:12

    … [Trackback]

    […] Read More here on that Topic: compdigitec.com/labs/2010/01/16/fixing-usrlibcupsbackendsmb-failed-error-in-ubuntu/ […]

  12. โคมไฟ Says:
    September 3rd, 2024 at 19:11

    … [Trackback]

    […] Find More on to that Topic: compdigitec.com/labs/2010/01/16/fixing-usrlibcupsbackendsmb-failed-error-in-ubuntu/ […]

  13. ทดลองเล่นสล็อตฟรี PG Says:
    September 17th, 2024 at 18:36

    … [Trackback]

    […] There you will find 73255 additional Info on that Topic: compdigitec.com/labs/2010/01/16/fixing-usrlibcupsbackendsmb-failed-error-in-ubuntu/ […]

  14. เค้กดึงเงิน Says:
    September 27th, 2024 at 21:50

    … [Trackback]

    […] Read More on on that Topic: compdigitec.com/labs/2010/01/16/fixing-usrlibcupsbackendsmb-failed-error-in-ubuntu/ […]

  15. dultogel slot Says:
    October 5th, 2024 at 14:37

    … [Trackback]

    […] Here you can find 11109 additional Info on that Topic: compdigitec.com/labs/2010/01/16/fixing-usrlibcupsbackendsmb-failed-error-in-ubuntu/ […]

Comments