diff options
author | David Disseldorp <ddiss@suse.de> | 2010-12-30 15:58:48 +0100 |
---|---|---|
committer | Andreas Schneider <asn@samba.org> | 2011-03-04 15:46:23 +0100 |
commit | 2b635949a210fd1d8d8906f5185581d566064888 (patch) | |
tree | e66a1dcacce50538d39794358ce290ab4dbbda5e /source4 | |
parent | 624e33f8697a7c9215028d4d70edd70ee49ad005 (diff) | |
download | samba-2b635949a210fd1d8d8906f5185581d566064888.tar.gz samba-2b635949a210fd1d8d8906f5185581d566064888.tar.bz2 samba-2b635949a210fd1d8d8906f5185581d566064888.zip |
s3-printing: fix cups pcap reload with no printers
cups_async_callback() is called to receive new printcap data from a
child process which requests the information from cupsd.
Newly received printcap information is stored in a temporary printcap
cache (tmp_pcap_cache). Once the child process closes the printcap IPC
file descriptor, the system printcap cache is replaced with the newly
populated tmp_pcap_cache, however this only occurs if tmp_pcap_cache is
non null (has at least one printer).
If the printcap cache is empty, which is the case when cups is not
exporting any printers, the printcap cache is not replaced resulting in
stale data.
https://bugzilla.samba.org/show_bug.cgi?id=7915
Signed-off-by: Andreas Schneider <asn@samba.org>
Diffstat (limited to 'source4')
0 files changed, 0 insertions, 0 deletions