I have some of my configuration files as symlinks, so I can easily have a backup with dropbox. But when I changed /etc/samba/smb.conf as a symlink, I couldn't print anymore.
If someone can help me track to which package this bug relates I would like to fill a bug report in debian.
Here are some information.
$ lpstat -t options
WARNING: gnome-keyring:: couldn't connect to: /tmp/keyring-gXFb2r/pkcs11: No such file or directory
scheduler is running
system default destination: HPPhotosmart
device for HPPhotosmart: smb://WORK/PAUL/HPPhotosmart
HPPhotosmart accepting requests since Mon 21 May 2012 03:47:17 PM BRT
printer HPPhotosmart disabled since Mon 21 May 2012 03:47:17 PM BRT -
Can't load /etc/samba/smb.conf - run testparm to debug it
$ testparm
Load smb config files from /etc/samba/smb.conf
rlimit_max: increasing rlimit_max (1024) to minimum Windows limit (16384)
Processing section "[homes]"
Processing section "[printers]"
Processing section "[print$]"
Loaded services file OK.
Server role: ROLE_STANDALONE
Press enter to see a dump of your service definitions
[global]
server string = %h server
obey pam restrictions = Yes
pam password change = Yes
passwd program = /usr/bin/passwd %u
passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* .
unix password sync = Yes
syslog = 0
log file = /var/log/samba/log.%m
max log size = 1000
name resolve order = lmhosts wins bcast host
dns proxy = No
panic action = /usr/share/samba/panic-action %d
idmap config * : backend = tdb
[homes]
comment = Home Directories
valid users = %S
create mask = 0700
directory mask = 0700
browseable = No
[printers]
comment = All Printers
path = /var/spool/samba
create mask = 0700
printable = Yes
print ok = Yes
browseable = No
[print$]
comment = Printer Drivers
path = /var/lib/samba/printers

