Hi all
I recently had a situation at a client with an SME box used as a print server.
Due to some storms and lack of UPS the box dropped out a few times and we found on restart that printing now failed.
After a bit of sleuthing and digging through log files the culprit turned out to be a corrupted:
printing.tdb (located in /var/cache/samba)
Deleting this file allows the printing to function; note that deleting and recreating the printers doesn't fix it and that a test print from the SME box works at all times. It seems that only SMB printing that fails.
I figure that this TDB (Temporary Database??) file must cache the SMB print stream.
What would be the best way to maintain this file??
a) a restart that would delete it?
b) a cron job to delete the file every so often?
c) some sort of integrity check?
d) ???
Suggestions and solutions welcome