[Samba] How to "recover" the printer drivers?
k1pfeifle at gmx.net
Thu Jul 3 12:19:56 GMT 2003
Vizitiu, Ciprian CVizitiu at gbif.org
> Tue Jul 1 17:50:13 GMT 2003
>> > Of course printcap is there in /etc and it is 644. Did I forgot to
>> > copy something?
>> Yes, the "Registry"....
>> > Anybody with a hint?
>> Samba stores printer driver information (including DeviceMode
>> etc.) in its own equivalent to the Windows Registry, the
>> "*.tdb" files. These should also be restored to get
>> everything up and running as before....
> Hmmm... I've restored ALL the content of /etc/samba and /var/cache/samba.
> Please tell me that there are other places where samba keeps tdbs...
This differs from distribution to distribution. It is a compile-time
option. IIRC, on my other box some of the tdbs were in /usr/lib/samba/
> otherwise I've restored them all. :-/ Is the printers "registry" different
> than the users one?
I don't understand what you mean with "users registry".
The *.tdb files relevant for printing are printing.tdb, nt_forms.tdb,
The the *.tdb stuff has changed slightly from 2.2.x to 3.0.
I guess you are running 2.2.x ?
The only thing I can say is that I have successfully restored the
whole printing setup covering dozens of printers already twice
(some time ago) by restoring the *.tdbs plus the other Samba files.
> Because the rest of the samba seems to be working domain
> auth and like.
More information about the samba