Having a printer spool in /tmp doesn't sound all that clever, so here's a
patch to change it to what seems to be the upstream recommendation.
Do we need some samba-common.postinst magic to force this upgrade, or should
we just leave it?
diff -ur ../../trunk/rules debian/rules
--- ../../trunk/rules 2006-05-31 15:32:04.000000000 +0200
+++ debian/rules 2006-06-02 17:38:44.000000000 +0200
@@ -244,6 +244,7 @@
# Set some reasonable default perms for the samba logdir.
chmod 0750 debian/samba/var/log/samba/
chown root.adm debian/samba/var/log/samba/
+ chmod 1777 debian/samba/var/spool/samba/
DH_OPTIONS= dh_makeshlibs -plibsmbclient -V'libsmbclient (>= 3.0.2a-1)'
dh_installdeb
diff -ur ../../trunk/samba.dirs debian/samba.dirs
--- ../../trunk/samba.dirs 2006-05-31 15:32:04.000000000 +0200
+++ debian/samba.dirs 2006-06-02 17:15:24.000000000 +0200
@@ -5,3 +5,4 @@
var/lib/samba/printers/WIN40
var/run/samba
var/cache/samba
+var/spool/samba
diff -ur ../../trunk/smb.conf debian/smb.conf
--- ../../trunk/smb.conf 2006-05-31 15:32:04.000000000 +0200
+++ debian/smb.conf 2006-06-02 17:17:14.000000000 +0200
@@ -248,7 +248,7 @@
[printers]
comment = All Printers
browseable = no
- path = /tmp
+ path = /var/spool/samba
printable = yes
public = no
writable = no
Nur in debian/: winbind.postinst.