Configure Samba without CUPS

From The IT Community
Jump to: navigation, search




If you have a Samba server running on your Linux machine, maybe you have seen the error message in the Samba log files, that it cannot connect to the CUPS printing service. But what if you do not want to install CUPS just for the purpose of getting rid of this error?


Here is how to configure Samba without CUPS:

  • Open your Samba configuration under /etc/samba/smb.conf.
  • Search for the word printing.
  • Keep searching until you find the line printing = bsd. It is most likely still commented out.
  • Change the lines to
printing = bsd
printcap name = /dev/null
  • Save /etc/samba/smb.conf and quit the editor.
  • Restart the Samba server:
/etc/init.d/smbd restart
  • Check the logfiles, the CUPS error should now be gone.


Was this article helpful? Then please donate to keep The IT Community alive...

If you found this article helpful please share it, comment and help others by writing your own article.






Translate this page: