1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-25 23:21:54 +03:00
samba-mirror/source3/printing
Volker Lendecke 7818513053 samba-bgqd: Fix samba-bgqd with "clustering=yes"/"include=registry"
With the above combination, some flavor of lp_load() already
initializes global_event_ctx, for which the closeall_except() later on
will happily close the epoll fd for. If we want to close all file
descriptors at startup, this must be the very first thing overall.

Can't really write a proper test for this with knownfail that is
removed with the fix, because if we have clustering+include=registry,
the whole clusteredmember environment does not even start up.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>

Autobuild-User(master): Stefan Metzmacher <metze@samba.org>
Autobuild-Date(master): Sat Jul 31 16:58:41 UTC 2021 on sn-devel-184
2021-07-31 16:58:41 +00:00
..
tests s3:printing: Fix setting the first jobnum 2017-07-25 09:14:19 +02:00
load.c s3:param: Fix segfault trying to add pcap printer without a [printers] share 2021-03-19 18:56:33 +00:00
load.h printing: remove unused arguments from load_printers() 2018-06-14 20:52:20 +02: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
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 printing: Avoid a few references to background_lpq_updater_pid 2021-05-11 23:45:21 +00:00
pcap.c printing: Fix typos 2021-03-24 20:31:30 +00:00
pcap.h printing: Remove simple wrapper function pcap_printer_read_fn() 2021-03-16 17:09:31 +00:00
print_aix.c
print_cups.c s3: safe_string: do not include string_wrappers.h 2020-08-28 00:56:34 +00:00
print_generic.c printing: Simplify calling print commands 2021-05-11 22:56:37 +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
print_svid.c s3: smbd: Convert print_svid code to use file_lines_ploadv(). 2019-05-24 19:00:05 +00:00
printer_list.c printing: Introduce printer_list_printername_exists() 2021-03-16 17:09:31 +00:00
printer_list.h printing: Introduce printer_list_printername_exists() 2021-03-16 17:09:31 +00:00
printing_db.c s3: safe_string: do not include string_wrappers.h 2020-08-28 00:56:34 +00:00
printing.c printing: Factor out remove_from_jobs_list() 2021-06-04 16:47:34 +00:00
printspoolss.c printing: Move rap2jobid functions to their own file 2021-03-16 17:09:31 +00:00
queue_process.c printing: Avoid a few references to background_lpq_updater_pid 2021-05-11 23:45:21 +00:00
queue_process.h printing: Avoid a few references to background_lpq_updater_pid 2021-05-11 23:45:21 +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 samba-bgqd: Fix samba-bgqd with "clustering=yes"/"include=registry" 2021-07-31 16:58:41 +00:00
spoolssd.c printing: Avoid a few references to background_lpq_updater_pid 2021-05-11 23:45:21 +00:00
spoolssd.h s3:rpc_server: Reinitialize dcesrv_context in external spoolssd daemon 2020-03-20 15:36:32 +00:00