1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00
samba-mirror/source3/printing
Andreas Schneider cce25171f7 s3:printing: Do not clear the printer-list.tdb
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 9080cd30d5)
2022-07-11 10:27:17 +00:00
..
tests s3:printing: Fix setting the first jobnum 2017-07-25 09:14:19 +02:00
load.c s3:printing: Move pcap_cache_loaded() to load.c 2021-12-10 14:02:30 +00:00
load.h s3:printing: Move pcap_cache_loaded() to load.c 2021-12-10 14:02:30 +00:00
lpq_parse.c printing: avoid crash in LPRng_time 2021-07-05 05:07:13 +00:00
notify.c s3: safe_string: do not include string_wrappers.h 2020-08-28 00:56:34 +00:00
notify.h
nt_printing_ads.c nt_printing_ads: support more attributes for AD published printers 2020-10-08 17:52:46 +00:00
nt_printing_migrate_internal.c lib: Pass mem_ctx to state_path() 2018-08-17 11:30:11 +02:00
nt_printing_migrate_internal.h
nt_printing_migrate.c s3-printing: fix migrate printer code (bug 8618) 2016-10-05 19:19:38 +02:00
nt_printing_migrate.h
nt_printing_os2.c smbdotconf: mark "os2 driver map" with substitution="1" 2019-11-27 10:25:35 +00:00
nt_printing_os2.h
nt_printing_tdb.c s3:printing: Add missing break in switch statement 2021-02-01 21:50:32 +00:00
nt_printing_tdb.h
nt_printing.c smbd: NULL out "fsp" in close_file() 2022-02-14 17:46:14 +00:00
pcap.c s3:printing: Move pcap_cache_loaded() to load.c 2021-12-10 14:02:30 +00:00
pcap.h s3:printing: Move pcap_cache_loaded() to load.c 2021-12-10 14:02:30 +00:00
print_aix.c printing: Convert aix_cache_reload to stdio 2016-12-11 11:17:24 +01:00
print_cups.c s3: safe_string: do not include string_wrappers.h 2020-08-28 00:56:34 +00:00
print_generic.c source3: move lib/substitute.c functions out of proto.h 2021-11-11 13:49:32 +00:00
print_iprint.c s3: safe_string: do not include string_wrappers.h 2020-08-28 00:56:34 +00:00
print_standard.c printing: std_pcap_cache_reload xfile->stdio 2016-12-11 11:17:23 +01:00
print_svid.c printing: Save a few lines with str_list_add_printf() 2022-01-18 20:22:38 +00:00
printer_list.c s3:printing: Do not clear the printer-list.tdb 2022-07-11 10:27:17 +00:00
printer_list.h s3:printing: Do not clear the printer-list.tdb 2022-07-11 10:27:17 +00:00
printing_db.c s3: safe_string: do not include string_wrappers.h 2020-08-28 00:56:34 +00:00
printing.c s3:printing: Do not clear the printer-list.tdb 2022-07-11 10:27:17 +00:00
printspoolss.c printing: Move rap2jobid functions to their own file 2021-03-16 17:09:31 +00:00
queue_process.c s3:printing: Start samba-bgqd as soon as possible 2022-06-09 10:03:29 +00:00
queue_process.h printing: Remove "start_daemons" from printing_subsystem_init() 2021-12-10 14:02:30 +00:00
rap_jobid.c printing: Move rap2jobid functions to their own file 2021-03-16 17:09:31 +00:00
rap_jobid.h printing: Move rap2jobid functions to their own file 2021-03-16 17:09:31 +00:00
samba-bgqd.c printing/bgqd: Disable systemd notifications 2022-01-30 10:57:11 +00:00