I was trying to set up samba with a new Ubuntu 9.04 (“Jaunty Jackalope”) box, and was frustrated when windows failed to connect to the [homes] share I had enabled.
It turns out that even if you comment out all the printer configuration in /etc/samba/smb.conf, smbd will still try to connect to CUPS, and quietly die.
After setting smb.conf to log to syslog, I saw:
smbd[30539]: printing/print_cups.c:cups_connect(103) smbd[30539]: Unable to connect to CUPS server localhost:631 - Connection refused
The solution? Add this to the [global] section:
load printers = no
and pick up the new setting by running
/etc/init.d/samba restart
Related posts:
- Installing CrashPlan on Ubuntu 9.04 Server Edition
Although rsnapshot is super for linux-to-linux backups, I’ve found CrashPlan to work very well as a backup solution for my family’s windows and mac boxes. The CrashPlan installation works pretty...... - Simple MySQL backup to gmail on Ubuntu/Debian
Backing up your MySQL database (if it’s a reasonable size, like < 100s of MB) can be done with a cronjob that runs mysqldump, gzip, and mpack. First set up...... - Installing Phusion Passenger on Ruby 1.9.1, Nginx, & Ubuntu 10.04
I wrote this a while back, before I knew about RVM. The Ruby Version Manager has a bunch of features that makes it better than macports for ruby and gem...... - Importing a local CVS repository into git on ubuntu
Every post I found in the googles referenced pserver (CVS’s clear-text socket-server protocol) when importing a CVS repository. Until I found this. Huzzah. So I wanted to import a local......