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 it’s 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

That’s all there is. 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 interesting articles!

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 | 3 Comments »

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

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

    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 5:15 am

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

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

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

Comments