Re: get_printer_list_db: Failed to open printer_list.tdb

Andreas Schneider via samba <[email protected]> Sun, 19 Apr 2026 09:22:36 +0200
Newsgroups gmane.network.samba.general,gmane.network.samba.internals
Message-ID <8550961.UPlyArG6xL@magrathea>
On Sunday, 19 April 2026 08:10:19 Central European Summer Time Michael Tokarev 
wrote:
> On 19.04.2026 08:57, Andreas Schneider via samba-technical wrote:
> > On Sunday, 19 April 2026 07:45:55 Central European Summer Time Michael
> > Tokarev> 
> > wrote:
> >> The logic here is simple: since printer_list.tdb is never created -
> >> and we're watching this issue for months, that file isn't there - and
> >> everything works fine, - maybe this whole thing isn't needed at all.
> > 
> > The file is needed, it is a cache for printers on cups. If you have 200
> > cups printers and enumerate them, it takes ~200sec. Without that file you
> > would have to wait that time to enumerate printers.
> > 
> > For home users it isn't an issue if they only have one printer, but there
> > are users with 200.
> 
> There's no difference if it's needed or not, or how many printers they
> have, -- because it can't be created by the current code :)  Even if it
> *is* needed (I don't have doubts about that), it is not used.  And since
> no one complained so far, maybe it isn't actually *that* needed :)

The difference is that you use `printing = bsd`. That's not very well tested, 
as normally we focus on cups.


-- 
Andreas Schneider                      [email protected]
Samba Team                             www.samba.org
GPG-ID:     8DFF53E18F2ABC8D8F3C92237EE0FC4DCC014E3D



-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba