Koozali.org: home of the SME Server

Samba problem

MichaelHall

Samba problem
« 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

onsy

Samba problem
« Reply #1 on: March 03, 2004, 02:36:54 PM »
Perhaps take a look at teh samba logs ??

Offline smeghead

  • *
  • 563
  • +0/-0
Samba problem
« Reply #2 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).
..................

Offline bushinc

  • ***
  • 62
  • +0/-0
    • http://www.bushinc.com
Samba Printer Problem
« Reply #3 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.
...