I am trying to migrate some light-weight services from an ubuntu 10.04 server to 12.04, but I cannot get the network printing to work as before, using cups 1.4.3 and samba 3.4.7 on ubuntu 10.04.4 I have a smb.conf file of :
[global]
workgroup = <my_workgroup>
server string = %h server (Samba, Ubuntu)
security = SHARE
map to guest = Bad User
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
dns proxy = No
usershare allow guests = Yes
panic action = /usr/share/samba/panic-action %d
[printers]
comment = All Printers
path = /var/spool/samba
create mask = 0700
guest ok = Yes
printable = Yes
use client driver = Yes
browseable = No
browsable = No
[print$]
comment = Printer Drivers
path = /var/lib/samba/printers
On the 12.04 server running cups 1.5.3 and samba 3.6.3 the smb.conf file is identical except for this line in [global] :
idmap config * : backend = tdb
and lacking :
browsable = No
in [printers]. When I try to connect to the printers installed on the 12.04 server, using windows XP, I can see the printers installed but when I try to install them I get :
Windows cannot connect to the printer. Either the printer name was typed incorrectly, or the specified printer has lost its connection to the server