1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-12 09:18:10 +03:00
samba-mirror/source3/printing
David Disseldorp 04248c2cfa s3-printing: reload shares after pcap cache fill
Since commit eada8f8a, updates to the cups pcap cache are performed
asynchronously - cups_cache_reload() forks a child process to request
cups printer information and notify the parent smbd on completion.

Currently printer shares are reloaded immediately following the call to
cups_cache_reload(), this occurs prior to smbd receiving new cups pcap
information from the child process. Such behaviour can result in stale
print shares as outlined in bug 7836.

This fix ensures print shares are only reloaded after new pcap data has
been received.

Pair-Programmed-With: Lars Müller <lars@samba.org>
2011-01-07 15:37:39 -08:00
..
tests s3-vlp: drastically shrink size and dependencies of the virtual line printer. 2009-06-26 09:34:02 +02:00
load.c s3-printing: reload shares after pcap cache fill 2011-01-07 15:37:39 -08:00
lpq_parse.c Fix bug #7288 - SMB job IDs in CUPS job names wrong. 2010-03-25 17:36:47 -07:00
notify.c s3-spoolss: dont overwrite location change notify. 2010-10-01 08:33:46 +02:00
nt_printing_ads.c s3: Attempt to fix the non-ads build 2010-10-03 00:17:44 +02:00
nt_printing_migrate.c s3-rpc_server: Moved ncacn_np declarations in common header file. 2010-09-15 12:53:42 +02:00
nt_printing_migrate.h s3: Lift the smbd_messaging_context from nt_printing_tdb_migrate 2010-08-08 16:03:15 +02:00
nt_printing_tdb.c libcli/security Provide a common, top level libcli/security/security.h 2010-10-12 05:54:10 +00:00
nt_printing_tdb.h s3-printing: Move all tdb upgrade functions to a separate file. 2010-07-27 10:27:14 -04:00
nt_printing.c s3-spoolss: Fix Bug #7641: handle win9x adddriver calls w/o config file. 2010-11-29 17:56:40 +01:00
pcap.c s3-printing: reload shares after pcap cache fill 2011-01-07 15:37:39 -08:00
pcap.h s3-printing: reload shares after pcap cache fill 2011-01-07 15:37:39 -08:00
print_aix.c s3-printing: explicitly include "printing/pcap.h" as there is /usr/include/pcap.h. 2010-05-14 14:41:50 +02:00
print_cups.c s3-printing: reload shares after pcap cache fill 2011-01-07 15:37:39 -08:00
print_generic.c s3: Remove the pointless PRINTERNAME macro 2010-06-13 12:40:27 +02:00
print_iprint.c s3-printing: Lift the use of smbd_server_fd from job_submit. 2010-08-16 14:02:19 +02:00
print_standard.c s3-printing: explicitly include "printing/pcap.h" as there is /usr/include/pcap.h. 2010-05-14 14:41:50 +02:00
print_svid.c s3-printing: explicitly include "printing/pcap.h" as there is /usr/include/pcap.h. 2010-05-14 14:41:50 +02:00
printer_list.c s3-printing: fix printer_list_traverse() 2010-12-20 18:44:41 +01:00
printer_list.h s3-printing: Document the printer list functions. 2010-09-15 12:53:40 +02:00
printing_db.c Use sec_initial_uid() in the places where being root doesn't matter, 2010-02-12 23:18:53 -08:00
printing.c s3: Make "unpack_pjob" static 2010-10-20 16:51:04 +00:00
printspoolss.c s3-printing: fix crash bug in print_spool_open(). 2010-12-22 14:21:58 +01:00