[Samba] How to "recover" the printer drivers?

Vizitiu, Ciprian CVizitiu at gbif.org
Tue Jul 1 14:58:12 GMT 2003

Samba 2.2.8a-1, RH8.

... So, I had to reinstall. Fortunately I had a back-up copy. I've installed
everything and then went to back-up and brought back all the stuff from
/etc/samba and /var/cache/samba and all /etc/cups and /etc/printcap*.
Aparently samba is working corectly: All user/machine accounts are in place
winbind OK... It's just that although I've restored the /home/printers
folder in the previous state it looks like I've lost my printer drivers.
Rpcclient enumdrivers shows empty hands although the driver files are in the
corresponding folder! Printing directly to CUPS works without any problem
and using the same config files it worked before the "move".

Logs for the machine trying to print looks like:

[2003/07/01 15:41:08, 0] printing/pcap.c:pcap_printername_ok(289)
  Unable to open printcap file cups for read!
[2003/07/01 15:41:08, 0] smbd/service.c:make_connection(252)
  ws130 (191.x.y.130) couldn't find service
[2003/07/01 15:42:00, 1] smbd/service.c:make_connection(636)

Of course printcap is there in /etc and it is 644. Did I forgot to copy
something? Anybody with a hint?

More information about the samba mailing list