summaryrefslogtreecommitdiffstats
path: root/source3/Makefile.in
diff options
context:
space:
mode:
authorDavid Disseldorp <ddiss@suse.de>2011-05-24 11:34:59 +0200
committerKarolin Seeger <kseeger@samba.org>2011-08-18 21:14:52 +0200
commit15942c91032c2722a0f15c3eb953f6fe30b4ae5d (patch)
tree52212f79489a6c10792b205ee0b94c3b3ab9a1c0 /source3/Makefile.in
parent4bfaf8cb4702f77bb546d3739bbacd5ac5187e33 (diff)
downloadsamba-15942c91032c2722a0f15c3eb953f6fe30b4ae5d.tar.gz
samba-15942c91032c2722a0f15c3eb953f6fe30b4ae5d.tar.xz
samba-15942c91032c2722a0f15c3eb953f6fe30b4ae5d.zip
s3-printing: an empty cups printer list is treated as an error
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. Signed-off-by: Günther Deschner <gd@samba.org> (cherry picked from commit 52bac5ffeea8ecbd2a5ecca023b3e2014c1350da)
Diffstat (limited to 'source3/Makefile.in')
0 files changed, 0 insertions, 0 deletions