mirror of
https://github.com/samba-team/samba.git
synced 2024-12-24 21:34:56 +03:00
cce25171f7
With the new dcerpc architecture we need to keep printer-list.tdb
around. A spoolss dcerpc call will start rpc-spoolssd which will then
start the background queue process. However in order to enum the
printers we need have a printer-list.tdb. Depending on the number of
printers this task can take several seconds. It is unlinkly that
the printer-list will change all the time, so we might provide outdated
data till it gets refreshed, but this is better than providing no
printer list at all.
If there are a lot of printers, the idle_seconds for the rpc-spoolssd
should be increased so that the background task can finish.
BUG: https://bugzilla.samba.org/show_bug.cgi?id=15082
Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
(cherry picked from commit
|
||
---|---|---|
.. | ||
tests | ||
load.c | ||
load.h | ||
lpq_parse.c | ||
notify.c | ||
notify.h | ||
nt_printing_ads.c | ||
nt_printing_migrate_internal.c | ||
nt_printing_migrate_internal.h | ||
nt_printing_migrate.c | ||
nt_printing_migrate.h | ||
nt_printing_os2.c | ||
nt_printing_os2.h | ||
nt_printing_tdb.c | ||
nt_printing_tdb.h | ||
nt_printing.c | ||
pcap.c | ||
pcap.h | ||
print_aix.c | ||
print_cups.c | ||
print_generic.c | ||
print_iprint.c | ||
print_standard.c | ||
print_svid.c | ||
printer_list.c | ||
printer_list.h | ||
printing_db.c | ||
printing.c | ||
printspoolss.c | ||
queue_process.c | ||
queue_process.h | ||
rap_jobid.c | ||
rap_jobid.h | ||
samba-bgqd.c |