Hey everyone.
I have a CentOS server sharing out my printer via samba. I can print fine from my Windows work laptop and the server itself, but not from my OpenSuSE 12.3_32 laptop.
I get this error in CUPS: *usr/lib/cups/backend/smb failed
*âGoogle doesnât return much help. Any idears?
shane2943:
Hey everyone.
I have a CentOS server sharing out my printer via samba. I can print fine from my Windows work laptop and the server itself, but not from my OpenSuSE 12.3_32 laptop.
I get this error in CUPS: *usr/lib/cups/backend/smb failed
*âGoogle doesnât return much help. Any idears?
What is the exact error message in /var/log/cups/error_log?
grep /usr/lib/cups/backend/smb /var/log/cups/error_log
Here ya go:
Dell-Laptop:~ # grep /usr/lib/cups/backend/smb /var/log/cups/error_log
E [22/Jan/2014:18:15:35 -0600] Brother_7820N_on_server: File "/usr/lib/cups/backend/smb" has insecure permissions (0104750/uid=0/gid=7).
E [22/Jan/2014:18:23:08 -0600] Brother_7820N_on_server: File "/usr/lib/cups/backend/smb" has insecure permissions (0104750/uid=0/gid=7).
Dell-Laptop:~ #
It seems that file has bad permissions?
shane2943:
Here ya go:
Dell-Laptop:~ # grep /usr/lib/cups/backend/smb /var/log/cups/error_log
E [22/Jan/2014:18:15:35 -0600] Brother_7820N_on_server: File "/usr/lib/cups/backend/smb" has insecure permissions (0104750/uid=0/gid=7).
E [22/Jan/2014:18:23:08 -0600] Brother_7820N_on_server: File "/usr/lib/cups/backend/smb" has insecure permissions (0104750/uid=0/gid=7).
Dell-Laptop:~ #
It seems that file has bad permissions?
Yes.
See here: http://forums.opensuse.org/showthread.php/491416-backend-quot-usr-lib-cups-backend-smb-quot-has-insecure-permissions
Itâs this bug: https://bugzilla.novell.com/show_bug.cgi?id=685093#c9
A workaround would be to uninstall âsamba-krb-printingâ f.e.
Thatâs only needed for kerberos authentication anyway. (if you donât know what that is, you most likely donât need itâŚ)
Yep, that did it! YouâŚareâŚTHA MAN!
Thanks!