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...... - Apache2, PHP, and MySQL on Mac OS X using MacPorts
1. Install MacPorts Follow the instructions here: http://www.macports.org/install.php. 2. Install apache2 sudo port install apache2 Note that the macports instructions suggest installing the launchctl script now, but we’ll do that...... - 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...... - How to fix your ubuntu 9.10 console
After upgrading my server (that isn’t running X) to Ubuntu 9.10 (Karmic Koala), I found that the console on my LCD monitor was cropping out several characters from the left......
In my case this was not enough as after restarting the message still appeared, although testparm -v indicated that this parameter was accepted.
The problem was, that by default the parameter “printing” is set to cups, that seemed to cause this issues as well.
Changing this to “printing = bsd” and subsequently “printcap name = ” (to an empty value) elimitated the problem.