Re: get_printer_list_db: Failed to open printer_list.tdb
Michael Tokarev via samba <[email protected]> Sat, 18 Apr 2026 09:44:49 +0300
| Newsgroups | gmane.network.samba.general,gmane.network.samba.internals |
|---|---|
| Message-ID | <[email protected]> |
On 18.04.2026 09:37, Michael Tokarev wrote: .. > This is rpcd_spoolss, running as a user (uid=1064), doing things as > user which aren't supposed to be run as user. > > It looks like the whole thing here is quite broken. It does many > strange things - like constantly poking /root/.krb5/config & > /etc/hx509.conf, constantly creating and destroying epool fd, > and some more. > > But the most important is that it does the creation of a global > printer_list.db as user, not as root. > > For now, in order to keep our systems a bit saner, I replaced > contents of get_printer_list_db() with "return NULL" - since > this file is never created anyway, and it has always been that > way, it looks like. I wonder if I can do the same for debian, > to avoid having two builds (one local one debian), - and if yes, > maybe I can remove whole lot of other code which run this > function. ..or maybe just revert commit 9080cd30d517cb50954e440bb4475c2eeb678906 Author: Andreas Schneider <[email protected]> Date: Wed Jun 22 18:56:26 2022 +0200 s3:printing: Do not clear the printer-list.tdb which seems to help too (Cc'ing asn@). Thanks, /mjt -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba