Koozali.org: home of the SME Server

Legacy Forums => Experienced User Forum => Topic started by: MichaelHall on March 03, 2004, 09:17:54 AM

Title: Samba problem
Post by: MichaelHall on March 03, 2004, 09:17:54 AM
Setup: E-Smith 5.5, basically a net gateway and print server (3 printers) to three Windows clients.

Problem: Power outage last night, now everything looks OK (services and interfaces running, config files correct etc) but no printing at all. One Win client says it can't find a shared printer when it boots.

Any ideas what the problem may be, or how to fix?

Thanks
Title: Samba problem
Post by: onsy on March 03, 2004, 02:36:54 PM
Perhaps take a look at teh samba logs ??
Title: Samba problem
Post by: smeghead on March 03, 2004, 04:56:11 PM
.. should always check the logs but you could just try to delete the printers and recreate them and delete the samba print cache file (get James Prices' workgroup contrib which can do this for you plus much more).
Title: Samba Printer Problem
Post by: bushinc on March 06, 2004, 04:38:26 AM
> delete the samba print cache file

http://forums.contribs.org/index.php?topic=20404.msg80338#msg80338
rm /var/cache/samba/ntprinters.tdb
rm /var/cache/samba/printing.tdb
service lpd stop
service smb restart
service lpd start

That should fix the printer problem.