printing: check lp_load_printers() prior to pcap cache update
authorDavid Disseldorp <ddiss@samba.org>
Tue, 29 Jan 2019 00:55:04 +0000 (01:55 +0100)
committerKarolin Seeger <kseeger@samba.org>
Thu, 21 Feb 2019 11:31:46 +0000 (12:31 +0100)
commit44f49283cb8059bac269175efb0ea8c75b639e7c
tree5bc4563a9e2807ba2fd2de99d88c766c8ff770ba
parent3ec3f9dcb3f7c28ac9a0d9b0f36446766e6e47ea
printing: check lp_load_printers() prior to pcap cache update

Avoid explicit and housekeeping timer triggered printcap cache updates
if lp_load_printers() is disabled.

Bug: https://bugzilla.samba.org/show_bug.cgi?id=13766

Signed-off-by: David Disseldorp <ddiss@samba.org>
Autobuild-User(master): Noel Power <npower@samba.org>
Autobuild-Date(master): Fri Feb  1 19:25:03 CET 2019 on sn-devel-144

(cherry picked from commit 6a77237c50dd258521f356af0b5dc9942dd5592e)
source3/printing/pcap.c
source3/printing/queue_process.c